Skip to content
Snippets Groups Projects
Commit 28889954 authored by Camilla Löwy's avatar Camilla Löwy
Browse files

Use glad booleans in glfwinfo

parent f0a55df9
No related branches found
No related tags found
No related merge requests found
......@@ -698,7 +698,7 @@ int main(int argc, char** argv)
get_profile_name_glfw(profile));
}
if (glfwExtensionSupported("GL_ARB_robustness"))
if (GLAD_GL_ARB_robustness)
{
const int robustness = glfwGetWindowAttrib(window, GLFW_CONTEXT_ROBUSTNESS);
GLint strategy;
......@@ -772,7 +772,7 @@ int main(int argc, char** argv)
redbits, greenbits, bluebits, alphabits, depthbits, stencilbits);
if (client == GLFW_OPENGL_ES_API ||
glfwExtensionSupported("GL_ARB_multisample") ||
GLAD_GL_ARB_multisample ||
major > 1 || minor >= 3)
{
GLint samples, samplebuffers;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment