4 opengl windows in one app
hi all
can someone tell me why my app only show one of four windows after start?
when i start another ogl app it works
why not in one app?
i need this to create a level editor
thx
--=[[TheMatrixXXX]]=--
You need to create 4 different OGL context (one by window) and bind them before drawing.
That can be quite heavy on memory since each context will need copies of the textures.
Often apps will just have one opengl context, one window, and manually handle the different parts inside using the stencil buffer or some other technique.
Often apps will just have one opengl context, one window, and manually handle the different parts inside using the stencil buffer or some other technique.
i have the handles in the form class ( i use borland c++ builder 5.0)
but i know thats heavy in memory
can you tell me how to use the glut library in borland c?
i get an error cause it is the M$ lib format
thx
--=[[TheMatrixXXX]]=--
but i know thats heavy in memory
can you tell me how to use the glut library in borland c?
i get an error cause it is the M$ lib format
thx
--=[[TheMatrixXXX]]=--
I thought there was a converter or a lib fixer that came with borland to do that. Have a look in the dirs of ur compiler.
@anonymous poster:
what do you mean with "glViewport?" ?
how can i create different OGL contexts?
why don´t work it with the contexts in the form classes?
they are different i think cause that ar different windows
thx
--=[[TheMatrixXXX]]=--
what do you mean with "glViewport?" ?
how can i create different OGL contexts?
why don´t work it with the contexts in the form classes?
they are different i think cause that ar different windows
thx
--=[[TheMatrixXXX]]=--
i use glViewport
i have problems with the handles not with the viewport
i have one window of four because the next initialized window overwrites the previous handle i think
or what do you mean with glViewport? can i split a gl window in four parts like in a level editor?
thx
--=[[TheMatrixXXX]]=--
i have problems with the handles not with the viewport
i have one window of four because the next initialized window overwrites the previous handle i think
or what do you mean with glViewport? can i split a gl window in four parts like in a level editor?
thx
--=[[TheMatrixXXX]]=--
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement