Advertisement

SDL 1.3 Opengl. weird flickering texture

Started by June 22, 2011 10:38 PM
0 comments, last by ill 13 years, 4 months ago
Hello.

I have a problem with 2D/3D object flickering back and forward.

when i debug my program and is stepping through the Render code i can
continuously see how the different objects is render to the Window. that is not very good i think
somehow I rendering to the wrong buffer.

I have google the problem but can't find the problem and i have looked thru
many tutorials on "SDL 1.3 Opengl 3.2"

I believe the problem is that I render to the wrong buffer. I should render to back buffer
and when i cal "SDL_GL_SwapWindow( _pWindow );" the buffers should swap but the don't-

Im am using SDL 1.3 width Opengl 3.2 in Ubuntu.
Is it something like this?

http://en.wikipedia.org/wiki/Z-fighting

This topic is closed to new replies.

Advertisement