diff options
Diffstat (limited to 'src/glx')
-rw-r--r-- | src/glx/tests/create_context_unittest.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glx/tests/create_context_unittest.cpp b/src/glx/tests/create_context_unittest.cpp index fb3e9440a8a..819b0b27dc0 100644 --- a/src/glx/tests/create_context_unittest.cpp +++ b/src/glx/tests/create_context_unittest.cpp @@ -54,11 +54,15 @@ glx_context_init(struct glx_context *gc, return GL_TRUE; } +bool GetGLXScreenConfigs_called = false; + extern "C" struct glx_screen * GetGLXScreenConfigs(Display * dpy, int scrn) { (void) dpy; (void) scrn; + + GetGLXScreenConfigs_called = true; return psc; } |