1. Anders Ruud
  2. love
  3. Issues

Issues

Issue #884 wontfix

love.graphics.reset() should not call origin

wobanator
created an issue

according to to the documentation reset should only reset the drawing options https://www.love2d.org/wiki/love.graphics.reset

it should not change the transformation matrix so it should not call orgin()

this should be here src/modules/graphics/opengl/Graphics.cpp:325

Comments (3)

  1. Alex Szpakowski

    This is really just me forgetting to update the documentation. The function was changed to call love.graphics.origin internally both because it makes a lot of sense in the context of what the function is supposed to do and where it's actually used (inside the error handler for example), and because doing so fixed a nasty crash bug.

  2. Log in to comment