diff options
Diffstat (limited to 'src/normalopenglgraphics.h')
-rw-r--r-- | src/normalopenglgraphics.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/normalopenglgraphics.h b/src/normalopenglgraphics.h index 45973941a..972656cc4 100644 --- a/src/normalopenglgraphics.h +++ b/src/normalopenglgraphics.h @@ -166,10 +166,20 @@ class NormalOpenGLGraphics : public Graphics void debugBindTexture(const Image *image); private: + void inline setColorAlpha(float alpha); + + void inline restoreColor(); + GLfloat *mFloatTexArray; GLint *mIntTexArray; GLint *mIntVertArray; - bool mAlpha, mTexture; + bool mAlpha; + bool mTexture; + + bool mIsByteColor; + gcn::Color mByteColor; + float mFloatColor; + bool mColorAlpha; FBOInfo mFbo; #ifdef DEBUG_BIND_TEXTURE |