One less warning

This commit is contained in:
samcake 2016-07-07 18:05:36 -07:00
parent 5827993125
commit fa62a0a73c

View file

@ -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);
}