the screen flickers black and I really need that to stop and I don’t know how too keep redrawing the scene without it crashing the application because of a While Loop
I have ideas to use another thread and put a while loop in there maybe that may stop the crashing but cause a crash because of too much of the same thing happening I don’t know but I really need someone to help me out here please
I’m using OpenGL 3.3 , SDL 1.2 I’m using SDL_GL_SwapBuffers(); to swap the buffers every frame of texture on the quad that’s whats causing the flickering but if I remove that opengl doesn’t update the animation every frame it doesn’t show anything but If I use SDL_GL_SwapBuffers(); then it does the black flickering and shows the animation but the background textured quad goes black every swapbuffer
what more information do you need
SDL is used then after the titlescreen everything is done in opengl accept the textures themselfs which are image loaded into sdl surfaces and then through opengl there loaded onto quads.
From this and other topics you made, I highly suggest you to read some OpenGL tutorials. Nehe was and is very well known (http://nehe.gamedev.net/), but there are others, like the one Alfonse makes (AFAIK it only covers GL 3+).