Added wrapper for glDepthMask.

This commit is contained in:
Leonardo Zide
2019-11-09 18:11:25 -08:00
parent 655498f3ee
commit 5854cfce89
6 changed files with 39 additions and 30 deletions
+2 -2
View File
@@ -147,10 +147,9 @@ public:
void SetMaterial(lcMaterialType MaterialType);
void SetViewport(int x, int y, int Width, int Height);
void SetPolygonOffset(lcPolygonOffset PolygonOffset);
void SetDepthWrite(bool Enable);
void SetLineWidth(float LineWidth);
void SetSmoothShading(bool Smooth);
void BeginTranslucent();
void EndTranslucent();
void BindTexture2D(GLuint Texture);
void BindTexture2DMS(GLuint Texture);
void BindTextureCubeMap(GLuint Texture);
@@ -231,6 +230,7 @@ protected:
GLuint mTexture2DMS;
GLuint mTextureCubeMap;
lcPolygonOffset mPolygonOffset;
bool mDepthWrite;
float mLineWidth;
int mMatrixMode;
bool mTextureEnabled;