Error when invalid setting names are used in the tables passed to love.graphics.newCanvas and newImage. See issue #1312.

This commit is contained in:
Alex Szpakowski
2017-12-28 23:16:51 -04:00
parent 1f52abf619
commit dd59803ad3
9 changed files with 143 additions and 31 deletions
+3
View File
@@ -129,6 +129,9 @@ Graphics::Graphics()
pixelScaleStack.reserve(16);
pixelScaleStack.push_back(1);
states.reserve(10);
states.push_back(DisplayState());
if (!Shader::initialize())
throw love::Exception("Shader support failed to initialize!");
}