This commit is contained in:
Kovid Goyal
2017-11-15 09:33:31 +05:30
parent 598f08e222
commit 7ba3aa0c6f

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);