code cleanup: bge builds with clang without warnings / errors.

This commit is contained in:
Campbell Barton
2012-06-29 09:16:59 +00:00
parent bd21001aaf
commit aeee798143
8 changed files with 22 additions and 16 deletions

View File

@@ -42,7 +42,7 @@
RAS_VAOpenGLRasterizer::RAS_VAOpenGLRasterizer(RAS_ICanvas* canvas, bool lock)
: RAS_OpenGLRasterizer(canvas),
m_Lock(lock && GLEW_EXT_compiled_vertex_array),
/* m_Lock(lock && GLEW_EXT_compiled_vertex_array), */ /* UNUSED */
m_last_texco_num(0),
m_last_attrib_num(0)
{

View File

@@ -37,7 +37,7 @@
class RAS_VAOpenGLRasterizer : public RAS_OpenGLRasterizer
{
void TexCoordPtr(const RAS_TexVert *tv);
bool m_Lock;
/* bool m_Lock; */ /* UNUSED */
TexCoGen m_last_texco[RAS_MAX_TEXCO];
TexCoGen m_last_attrib[RAS_MAX_ATTRIB];