If I want to use the same texture in 2 diferent glut windows, I need to load the texture twice (one for each window)?
There’s a way to use a FBO rendered texture in another window directly?
Thanks in advance.
If I want to use the same texture in 2 diferent glut windows, I need to load the texture twice (one for each window)?
There’s a way to use a FBO rendered texture in another window directly?
Thanks in advance.
Not possible with GLUT, but apparently doable with freeglut with :
glutSetOption(GLUT_RENDERING_CONTEXT ,GLUT_USE_CURRENT_CONTEXT);
http://old.nabble.com/Shared-GL-ressources-between-window-td26900200.html
ZbuffeR, do you if there is an implementation of freeglut for the Microsoft Windows?
I need to have a project that can be compiled both in linux and windows.