glBegin()

Hey, glBegin jst draws stuff to the Frame buffer, right? It doesn’t do anything funky that’ll lead to memory leaks?

Sorry, I’m getting some weird memory leaks, and I’m not using any dynamic data…

Are you using any GDI objects like creating HFONTs, etc.? glBegin/glEnd (You ARE using glEnd, aren’t you?) themselves shouldn’t lead to memory leaks. Are you doing anything else, like creating display lists? Loading textures? How are you detecting that you have a memory leak?