Skip to content

Commit

Permalink
Clip node clips the profiler if we don't disable stencil test. So dis…
Browse files Browse the repository at this point in the history
…abled it after drawing gui. (#48)
  • Loading branch information
Sayuris1 committed Sep 15, 2021
1 parent 0e8325e commit 10d7d3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions orthographic/render/orthographic.render_script
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ function update(self)
render.set_projection(vmath.matrix4_orthographic(0, render.get_window_width(), 0, render.get_window_height(), -1, 1))
render.draw(self.gui_pred)
render.draw(self.text_pred)
render.disable_state(render.STATE_STENCIL_TEST)
end

function on_message(self, message_id, message)
Expand Down

0 comments on commit 10d7d3c

Please sign in to comment.