Remove dead code

This commit is contained in:
Kovid Goyal 2018-09-12 21:44:59 +05:30
parent 772d6597a9
commit 0652529839
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -394,9 +394,6 @@ toggle_fullscreen_for_os_window(OSWindow *w) {
const GLFWvidmode* mode = glfwGetVideoMode(monitor);
if (w->before_fullscreen.is_set) glfwSetWindowMonitor(w->handle, NULL, w->before_fullscreen.x, w->before_fullscreen.y, w->before_fullscreen.w, w->before_fullscreen.h, mode->refreshRate);
else glfwSetWindowMonitor(w->handle, NULL, 0, 0, 600, 400, mode->refreshRate);
#ifdef __APPLE__
if (glfwGetCocoaWindow) cocoa_make_window_resizable(glfwGetCocoaWindow(w->handle), OPT(macos_window_resizable));
#endif
return false;
}
#endif