Commits

Geraldo Ramos committed 9decd31

Fix exitFullscreen()

Comments (0)

Files changed (1)

zoetrope/core/app.lua

 			assert(self.fullscreen, 'asked to exit fullscreen when already out of fullscreen')
 		end
 
-		love.graphics.setMode(self.width, self.height, false)
+		love.window.setMode(self.width, self.height, {fullscreen = false})
 		love.graphics.setScissor(0, 0, self.width, self.height)
 		self.fullscreen = false
 		self.inset.x = 0