mft
Still Fresh
- Joined
- Oct 13, 2010
- Messages
- 4
Hi, I'm running in to a problem with my project.
I'm trying to get an OpenGL context, but the program freezes my Pandora to a point that I can only move my mouse and needs a hard-reset.
I've setup DJWillis' Cross Compiler (http://blogs.distant-earth.com/wp/?p=109) in Virtual Box (+Ubuntu 11.04) and my project compiles without a problem.
I use the code from the wiki (http://pandorawiki.org/Combining_OpenGL_ES_1.1_and_SDL_to_create_a_window_on_the_Pandora) to setup a window. (I call InitOpenGL(); directly after SDL_SetVideoMode(800, 480, 0, SDL_SWSURFACE | SDL_FULLSCREEN); )
I've found that my program doesn't crash if I remove SDL_GL_SwapBuffers(); from my code.
Is there something I'm missing?
Thanks in advance.
I'm trying to get an OpenGL context, but the program freezes my Pandora to a point that I can only move my mouse and needs a hard-reset.
I've setup DJWillis' Cross Compiler (http://blogs.distant-earth.com/wp/?p=109) in Virtual Box (+Ubuntu 11.04) and my project compiles without a problem.
I use the code from the wiki (http://pandorawiki.org/Combining_OpenGL_ES_1.1_and_SDL_to_create_a_window_on_the_Pandora) to setup a window. (I call InitOpenGL(); directly after SDL_SetVideoMode(800, 480, 0, SDL_SWSURFACE | SDL_FULLSCREEN); )
I've found that my program doesn't crash if I remove SDL_GL_SwapBuffers(); from my code.
Is there something I'm missing?
Thanks in advance.