mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
Make love.graphics.reset call love.graphics.origin instead of clearing the internal pixel size stack
This commit is contained in:
@@ -232,10 +232,8 @@ void Graphics::reset()
|
||||
discardStencil();
|
||||
Canvas::bindDefaultCanvas();
|
||||
Shader::detach();
|
||||
origin();
|
||||
restoreState(s);
|
||||
pixel_size_stack.clear();
|
||||
pixel_size_stack.reserve(5);
|
||||
pixel_size_stack.push_back(1);
|
||||
}
|
||||
|
||||
void Graphics::clear()
|
||||
|
||||
Reference in New Issue
Block a user