This commit is contained in:
Kovid Goyal
2017-12-01 12:15:32 +05:30
parent 598f08e222
commit 7ba3aa0c6f
+2 -2
View File
@@ -181,9 +181,9 @@ create_new_os_window(PyObject UNUSED *self, PyObject *args) {
glfwWindowHint(GLFW_SAMPLES, 0);
glfwSwapInterval(0); // a value of 1 makes mouse selection laggy
#ifdef __APPLE__
if (OPT(macos_hide_titlebar)) glfwWindowHint(GLFW_DECORATED, false)
if (OPT(macos_hide_titlebar)) glfwWindowHint(GLFW_DECORATED, false);
// OS X cannot handle 16bit stencil buffers
glfwWindowHint(GLFW_STENCIL_BITS, 8)
glfwWindowHint(GLFW_STENCIL_BITS, 8);
#else
#endif
standard_cursor = glfwCreateStandardCursor(GLFW_IBEAM_CURSOR);