diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2013-11-04 23:21:25 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2013-11-04 23:21:25 +0400 |
commit | 5348682f3aad87c1c598af04d407a91a50b71e7e (patch) | |
tree | 5c6c71529e1d8cb5310697362706c14abaa3ce73 | |
parent | e2c91b570d5c00c2a4882ff2418de085b5dccbfc (diff) |
BGE Rasterizer Cleanup: Getting rid of the BL_Material.h include in RAS_OpenGLRasterizer.cpp.
-rw-r--r-- | source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp b/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp index 4a8afb2b652..aada984ef76 100644 --- a/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp +++ b/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp @@ -64,7 +64,6 @@ extern "C"{ // XXX Clean these up <<< -#include "BL_Material.h" // MAXTEX #include "Value.h" #include "KX_BlenderMaterial.h" #include "KX_PolygonMaterial.h" @@ -1370,7 +1369,7 @@ static void DisableForText() glDisable(GL_COLOR_MATERIAL); if (GLEW_ARB_multitexture) { - for (int i=0; i<MAXTEX; i++) { + for (int i=0; i<RAS_MAX_TEXCO; i++) { glActiveTextureARB(GL_TEXTURE0_ARB+i); if (GLEW_ARB_texture_cube_map) |