...
This commit is contained in:
parent
598f08e222
commit
7ba3aa0c6f
@ -181,9 +181,9 @@ create_new_os_window(PyObject UNUSED *self, PyObject *args) {
|
|||||||
glfwWindowHint(GLFW_SAMPLES, 0);
|
glfwWindowHint(GLFW_SAMPLES, 0);
|
||||||
glfwSwapInterval(0); // a value of 1 makes mouse selection laggy
|
glfwSwapInterval(0); // a value of 1 makes mouse selection laggy
|
||||||
#ifdef __APPLE__
|
#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
|
// OS X cannot handle 16bit stencil buffers
|
||||||
glfwWindowHint(GLFW_STENCIL_BITS, 8)
|
glfwWindowHint(GLFW_STENCIL_BITS, 8);
|
||||||
#else
|
#else
|
||||||
#endif
|
#endif
|
||||||
standard_cursor = glfwCreateStandardCursor(GLFW_IBEAM_CURSOR);
|
standard_cursor = glfwCreateStandardCursor(GLFW_IBEAM_CURSOR);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user