OpenGL multiple small rendering sections

Started by
11 comments, last by ThaUnknownProgga 24 years, 1 month ago
The problem is that when I call SwapBuffers it copies all of the offscreen buffer into the Hdc. This is because I learned through a tutorial that does double buffering. So how do i fix this now?
Advertisement
Should I somehow be defining an HDC that is only the rectangle I want drawn? Or is there another way of rendering in OpenGL, besides double buffereing and using SwapBuffers?
I figured out how to pull out the double buffering code and it does what i want now, but now there''s some flicker. Anyway to eliminate this?

This topic is closed to new replies.

Advertisement