mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
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:
@@ -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!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user