Commits

Bill Meltsner committed 1124fb6

Make love.graphics.toggleFullscreen properly handle graphics state.

  • Participants
  • Parent commits f5d6800

Comments (0)

Files changed (1)

File src/modules/graphics/opengl/Graphics.cpp

 		int width, height, fsaa;
 		bool fullscreen, vsync;
 		currentWindow->getWindow(width, height, fullscreen, vsync, fsaa);
-		return currentWindow->setWindow(width, height, !fullscreen, vsync, fsaa);
+		return setMode(width, height, !fullscreen, vsync, fsaa);
 	}