Commit bea36566 authored by nadro's avatar nadro

- Added support for Color Mask in OpenGL call bridge.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4980 dfc29bdd-3216-0410-991c-e03cc46cb475
parent d8ed51f1
This diff is collapsed.
......@@ -675,6 +675,12 @@ namespace video
void setClientState(bool vertex, bool normal, bool color, bool texCoord0);
// Color Mask.
void setColorMask(bool red, bool green, bool blue, bool alpha);
void setColorMaskIndexed(GLuint index, bool red, bool green, bool blue, bool alpha);
// Cull face calls.
void setCullFaceFunc(GLenum mode);
......@@ -710,6 +716,8 @@ namespace video
private:
COpenGLDriver* Driver;
GLuint FrameBufferCount;
GLenum AlphaMode;
GLclampf AlphaRef;
bool AlphaTest;
......@@ -720,13 +728,14 @@ namespace video
GLenum* BlendSourceAlpha;
GLenum* BlendDestinationAlpha;
bool* Blend;
GLuint BlendIndexCount;
bool ClientStateVertex;
bool ClientStateNormal;
bool ClientStateColor;
bool ClientStateTexCoord0;
bool (*ColorMask)[4];
GLenum CullFaceMode;
bool CullFace;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment