Setting OpenGL context in the dtor of a wxGLCanvas derived class

Luca Cappa luca.cappa at sequoia.it
Mon Oct 1 00:40:40 PDT 2007


Hello

On Fri, 28 Sep 2007 22:33:54 +0200, Richard  
<legalize+jeeves at mail.xmission.com> wrote:
> What sort of "OpenGL cleanup" are you doing?

I am destroying the textures I used for the glyph's font (calling  
glDeleteTextures), and if the context is not the right one, i will end up  
deleting the textures of another wxGLCanvas :-) which will be drawn with  
all flat coloured quads :)

Greetings,
Luca




More information about the wx-users mailing list