diff options
Diffstat (limited to 'src/normalopenglgraphics.cpp')
-rw-r--r-- | src/normalopenglgraphics.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/normalopenglgraphics.cpp b/src/normalopenglgraphics.cpp index 5fffebbc0..90ba0a188 100644 --- a/src/normalopenglgraphics.cpp +++ b/src/normalopenglgraphics.cpp @@ -52,14 +52,15 @@ NormalOpenGLGraphics::NormalOpenGLGraphics(): mAlpha(false), mTexture(false), mIsByteColor(false), + mByteColor(), mFloatColor(1.0f), mMaxVertices(500), -#ifdef DEBUG_BIND_TEXTURE mColorAlpha(false), - mOldTextureId(0) -#else - mColorAlpha(false) +#ifdef DEBUG_BIND_TEXTURE + mOldTexture(), + mOldTextureId(0), #endif + mFbo() { mOpenGL = 1; mName = "fast OpenGL"; |