GRIM: Initialize all members in GfxOpenGL.
This commit is contained in:
parent
cae5582f09
commit
960f48f0f7
1 changed files with 9 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue