From 28889954ef6cd34742eefdae37cff478d54e9362 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Mon, 26 Sep 2016 14:55:55 +0200 Subject: [PATCH] Use glad booleans in glfwinfo --- tests/glfwinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/glfwinfo.c b/tests/glfwinfo.c index a3e286ff..26d4b945 100644 --- a/tests/glfwinfo.c +++ b/tests/glfwinfo.c @@ -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;