mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:24:00 +02:00
quiet compiler
This commit is contained in:
parent
ad33bf0dfb
commit
5c709e2638
2 changed files with 2 additions and 2 deletions
|
@ -115,6 +115,7 @@ void GLBackend::updatePipeline() {
|
|||
State::Data state;
|
||||
getCurrentGLState(state);
|
||||
State::Signature signature = State::evalSignature(state);
|
||||
(void) signature; // quiet compiler
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue