Browse Source

Fixed GCC warnings.

bkaradzic 12 years ago
parent
commit
e25e93a7e7
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/renderer_gl.cpp

+ 2 - 0
src/renderer_gl.cpp

@@ -1049,6 +1049,7 @@ namespace bgfx
 				, data
 				, offset
 				);
+			BX_UNUSED(offset);
 		}
 
 		m_constantBuffer->finish();
@@ -2256,6 +2257,7 @@ namespace bgfx
 				}
 
 				BX_TRACE("GL_EXTENSION%s: %s", supported ? " (supported)" : "", name);
+				BX_UNUSED(supported);
 
  				pos += len+1;
  			}