summaryrefslogtreecommitdiff
path: root/test/test-glContextBhvr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-glContextBhvr.cpp')
-rw-r--r--test/test-glContextBhvr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-glContextBhvr.cpp b/test/test-glContextBhvr.cpp
index 2f71aec..26b45d9 100644
--- a/test/test-glContextBhvr.cpp
+++ b/test/test-glContextBhvr.cpp
@@ -31,7 +31,7 @@ BOOST_AUTO_TEST_CASE(windowContextThingsBehaviour1)
const SDL_GLContextPtr context {window};
BOOST_REQUIRE(context);
BOOST_REQUIRE(!glCreateProgram);
- BOOST_REQUIRE_EQUAL(gladLoadGL(reinterpret_cast<GLADloadfunc>(SDL_GL_GetProcAddress)), 40006);
+ BOOST_REQUIRE_GT(gladLoadGL(reinterpret_cast<GLADloadfunc>(SDL_GL_GetProcAddress)), 0);
BOOST_REQUIRE(glCreateProgram);
CreateProgramTest();
} // Context destroyed