mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
One less warning
This commit is contained in:
parent
5827993125
commit
fa62a0a73c
1 changed files with 0 additions and 1 deletions
|
@ -44,7 +44,6 @@ void BlurParams::setWidthHeight(int width, int height, bool isStereo) {
|
|||
_parametersBuffer.edit<Params>().resolutionInfo = glm::vec4((float) width, (float) height, 1.0f / (float) width, 1.0f / (float) height);
|
||||
}
|
||||
|
||||
auto stereoInfo = _parametersBuffer.get<Params>().stereoInfo;
|
||||
if (isStereo || resChanged) {
|
||||
_parametersBuffer.edit<Params>().stereoInfo = glm::vec4((float)width, (float)height, 1.0f / (float)width, 1.0f / (float)height);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue