Ver código fonte

Fixed check for GL_ARB_multisample.

Camilla Berglund 13 anos atrás
pai
commit
f274b329d1
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/opengl.c

+ 1 - 1
src/opengl.c

@@ -404,7 +404,7 @@ void _glfwRefreshContextParams(void)
     glGetIntegerv(GL_AUX_BUFFERS, &window->auxBuffers);
     glGetIntegerv(GL_AUX_BUFFERS, &window->auxBuffers);
     glGetBooleanv(GL_STEREO, &window->stereo);
     glGetBooleanv(GL_STEREO, &window->stereo);
 
 
-    if (_glfwPlatformExtensionSupported("GL_ARB_multisample"))
+    if (glfwExtensionSupported("GL_ARB_multisample"))
         glGetIntegerv(GL_SAMPLES_ARB, &window->samples);
         glGetIntegerv(GL_SAMPLES_ARB, &window->samples);
     else
     else
         window->samples = 0;
         window->samples = 0;