Bad OpenGL context handling. |
Bad OpenGL context handling. |
Richard J Hancock
Guest
|
In this test case, you are not setting up a GL context. Without a
context, the functions behaviour is undefined. The fact that glBegin and glEnd work is not a true test since a context is not needed to tell a system you are ready to draw. HTH, Richard On Fri, 2006-01-06 at 11:17 +0200, Joonas Lahtinen wrote:
|
|||||||||||||
|
Bad OpenGL context handling. |
Ryan C. Gordon
Guest
|
Call SDL_SetVideoMode() after SDL_GL_LoadLibrary() and before SDL_GL_GetProcAddress(). --ryan. |
|||||||||||||
|
Bad OpenGL context handling. |
Joonas Lahtinen
Guest
|
On Friday 06 January 2006 15:18, Ryan C. Gordon wrote:
I'm not willing to have any window yet by the time I do this. Obviously this means I will have to handle the context on my own, right? Regards, Joonas
-- Joonas "dolphin" Lahtinen <joonas at linuxgamepublishing.com> |
|||||||||||||||||
|