How to attach a texture loaded in memory to a Frame Window?
Posted: Thu Jul 08, 2010 10:47
Hei, I have the following problem:
I have two rendering contexts in OpenGL, one is active the second one is not. I am trying to do some kind of render to texture: render in a separate context a scene, extract its raster image and "glue" it realtime ( for each frame ) to a CEGUI window.
Right now I have a handle to a bitmap buffer and I want to attach it to a Frame Window.
I have two rendering contexts in OpenGL, one is active the second one is not. I am trying to do some kind of render to texture: render in a separate context a scene, extract its raster image and "glue" it realtime ( for each frame ) to a CEGUI window.
Right now I have a handle to a bitmap buffer and I want to attach it to a Frame Window.