We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab41294 commit 5f3bc0fCopy full SHA for 5f3bc0f
1 file changed
source/MaterialXRenderMsl/MslRenderer.mm
@@ -139,14 +139,14 @@
139
140
void MslRenderer::setSize(unsigned int width, unsigned int height)
141
{
142
+ _width = width;
143
+ _height = height;
144
if (_framebuffer)
145
146
_framebuffer->resize(width, height);
147
}
148
else
149
- _width = width;
- _height = height;
150
createFrameBuffer(true);
151
152
0 commit comments