frankheckenbach / ftgl

fork from http://sourceforge.net/projects/ftgl
Other
28 stars 17 forks source link

OpenGL state leak #3

Closed Eddie-cz closed 5 years ago

Eddie-cz commented 5 years ago

GL_TEXTURE_ENV_MODE is not valid mask for glPushAttrib. Use GL_TEXTURE_BIT instead and texture env mode won't be leaked anymore.

frankheckenbach commented 5 years ago

Thanks, fixed. (778b8f2)