GRIM: Initialize all members in GfxOpenGL.

This commit is contained in:
Einar Johan Trøan Sømåen 2013-04-21 15:09:39 +02:00
parent cae5582f09
commit 960f48f0f7

View file

@ -92,7 +92,15 @@ static char dimFragSrc[] =
MOV result.color.b, sum;\n\
END\n";
GfxOpenGL::GfxOpenGL() {
GfxOpenGL::GfxOpenGL() : _smushNumTex(0),
_smushTexIds(NULL),
_smushWidth(0),
_smushHeight(0),
_useDepthShader(false),
_fragmentProgram(0),
_useDimShader(0),
_dimFragProgram(0),
_maxLights(0) {
g_driver = this;
_storedDisplay = NULL;
_emergFont = 0;