quiet compiler

This commit is contained in:
Seth Alves 2015-04-08 15:39:07 -07:00
parent ad33bf0dfb
commit 5c709e2638
2 changed files with 2 additions and 2 deletions

View file

@ -115,6 +115,7 @@ void GLBackend::updatePipeline() {
State::Data state;
getCurrentGLState(state);
State::Signature signature = State::evalSignature(state);
(void) signature; // quiet compiler
}
#endif

View file

@ -139,7 +139,6 @@ GLBackend::GLState* GLBackend::syncGPUObject(const State& state) {
bool depthBias = false;
bool stencilState = false;
bool blendState = false;
// go thorugh the list of state fields in the State and record the corresponding gl command
for (int i = 0; i < State::NUM_FIELDS; i++) {
@ -732,4 +731,4 @@ void GLBackend::do_setStateBlendFactor(Batch& batch, uint32 paramOffset) {
glBlendColor(factor.x, factor.y, factor.z, factor.w);
CHECK_GL_ERROR();
}
}