From 5c709e2638836e71089966faef57530d2228d9de Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Wed, 8 Apr 2015 15:39:07 -0700 Subject: [PATCH] quiet compiler --- libraries/gpu/src/gpu/GLBackendPipeline.cpp | 1 + libraries/gpu/src/gpu/GLBackendState.cpp | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/gpu/src/gpu/GLBackendPipeline.cpp b/libraries/gpu/src/gpu/GLBackendPipeline.cpp index 0f7d3d6db8..d285cdd8d8 100755 --- a/libraries/gpu/src/gpu/GLBackendPipeline.cpp +++ b/libraries/gpu/src/gpu/GLBackendPipeline.cpp @@ -115,6 +115,7 @@ void GLBackend::updatePipeline() { State::Data state; getCurrentGLState(state); State::Signature signature = State::evalSignature(state); + (void) signature; // quiet compiler } #endif diff --git a/libraries/gpu/src/gpu/GLBackendState.cpp b/libraries/gpu/src/gpu/GLBackendState.cpp index fba40ca77f..68ade677fe 100644 --- a/libraries/gpu/src/gpu/GLBackendState.cpp +++ b/libraries/gpu/src/gpu/GLBackendState.cpp @@ -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(); -} \ No newline at end of file +}