Kaynağa Gözat

Removed use of removed token.

Camilla Berglund 12 yıl önce
ebeveyn
işleme
4ab93ee155
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/nsgl_context.m

+ 1 - 1
src/nsgl_context.m

@@ -152,7 +152,7 @@ int _glfwCreateContext(_GLFWwindow* window,
 
     ADD_ATTR(NSOpenGLPFADoubleBuffer);
 
-    if (wndconfig->mode == GLFW_FULLSCREEN)
+    if (wndconfig->monitor)
     {
         ADD_ATTR(NSOpenGLPFANoRecovery);
         ADD_ATTR2(NSOpenGLPFAScreenMask,