minor edits, no functional changes.
[blender-staging.git] / source / gameengine / Rasterizer / RAS_OpenGLRasterizer / RAS_OpenGLRasterizer.cpp
index c2859394176d9d5e68487ee9e529b43309452b20..135b9e6f4be08f27a13b132075cfe06dcd45820e 100644 (file)
@@ -742,6 +742,8 @@ static int CheckMaterialDM(int matnr, void *attribs)
                memcpy(gattribs, &current_gpu_attribs, sizeof(GPUVertexAttribs));
        return 1;
 }
+
+/*
 static int CheckTexfaceDM(void *mcol, int index)
 {
 
@@ -769,6 +771,7 @@ static int CheckTexfaceDM(void *mcol, int index)
        }
        return 0;
 }
+*/
 
 static int CheckTexDM(MTFace *tface, MCol *mcol, int matnr)
 {
@@ -811,7 +814,7 @@ void RAS_OpenGLRasterizer::IndexPrimitivesInternal(RAS_MeshSlot& ms, bool multi)
                current_ms = &ms;
                current_mesh = ms.m_mesh;
                current_wireframe = wireframe;
-               MCol *mcol = (MCol*)ms.m_pDerivedMesh->getFaceDataArray(ms.m_pDerivedMesh, CD_MCOL);
+               // MCol *mcol = (MCol*)ms.m_pDerivedMesh->getFaceDataArray(ms.m_pDerivedMesh, CD_MCOL); /* UNUSED */
 
                // handle two-side
                if (current_polymat->GetDrawingMode() & RAS_IRasterizer::KX_TWOSIDE)