diff options
Diffstat (limited to 'source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.h')
-rw-r--r-- | source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.h b/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.h index 64c07358d95..94589f84197 100644 --- a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.h +++ b/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.h @@ -109,6 +109,7 @@ protected: int m_drawingmode; TexCoGen m_texco[RAS_MAX_TEXCO]; TexCoGen m_attrib[RAS_MAX_ATTRIB]; + int m_attrib_layer[RAS_MAX_ATTRIB]; int m_texco_num; int m_attrib_num; //int m_last_alphablend; @@ -296,7 +297,7 @@ public: virtual void SetTexCoordNum(int num); virtual void SetAttribNum(int num); virtual void SetTexCoord(TexCoGen coords, int unit); - virtual void SetAttrib(TexCoGen coords, int unit); + virtual void SetAttrib(TexCoGen coords, int unit, int layer = 0); void TexCoord(const RAS_TexVert &tv); |