Commit b404252d authored by Philip Trettner's avatar Philip Trettner

Added fix for no-op resize

parent eaa54c43
......@@ -55,6 +55,9 @@ RenderingPipeline::RenderingPipeline()
void RenderingPipeline::resize(int w, int h)
if (w == mWidth && h == mHeight)
return; // no change
mWidth = w;
mHeight = h;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment