On Error, switch to default framebuffer before showing bluescreen.

Bluescreens might not be shown if the error happens with a render target
different from the default framebuffer, because it gets rendered to
the attached framebuffer object. Fix that.
This commit is contained in:
vrld
2010-09-03 14:46:01 +02:00
parent 78a793e08f
commit 9afc5dfb08
+2
View File
@@ -787,6 +787,8 @@ function love.errhand(msg)
return
end
love.graphics.setRenderTarget()
-- Load.
love.graphics.setScissor()
love.graphics.setBackgroundColor(89, 157, 220)