mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 13:04:35 +00:00
Use glad booleans in glfwinfo
This commit is contained in:
parent
f0a55df963
commit
28889954ef
@ -698,7 +698,7 @@ int main(int argc, char** argv)
|
|||||||
get_profile_name_glfw(profile));
|
get_profile_name_glfw(profile));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (glfwExtensionSupported("GL_ARB_robustness"))
|
if (GLAD_GL_ARB_robustness)
|
||||||
{
|
{
|
||||||
const int robustness = glfwGetWindowAttrib(window, GLFW_CONTEXT_ROBUSTNESS);
|
const int robustness = glfwGetWindowAttrib(window, GLFW_CONTEXT_ROBUSTNESS);
|
||||||
GLint strategy;
|
GLint strategy;
|
||||||
@ -772,7 +772,7 @@ int main(int argc, char** argv)
|
|||||||
redbits, greenbits, bluebits, alphabits, depthbits, stencilbits);
|
redbits, greenbits, bluebits, alphabits, depthbits, stencilbits);
|
||||||
|
|
||||||
if (client == GLFW_OPENGL_ES_API ||
|
if (client == GLFW_OPENGL_ES_API ||
|
||||||
glfwExtensionSupported("GL_ARB_multisample") ||
|
GLAD_GL_ARB_multisample ||
|
||||||
major > 1 || minor >= 3)
|
major > 1 || minor >= 3)
|
||||||
{
|
{
|
||||||
GLint samples, samplebuffers;
|
GLint samples, samplebuffers;
|
||||||
|
Loading…
Reference in New Issue
Block a user