Merge pull request #8212 from samcake/skin

One less warning
This commit is contained in:
Brad Davis 2016-07-07 19:51:59 -07:00 committed by GitHub
commit ba8660ff28

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