glx/tests: Add GetGLXScreenConfigs_called flag

Tests for the GLX_MESA_query_context extension will use this flag.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
Ian Romanick 2013-02-22 15:35:27 -08:00
parent ee6c9fcbca
commit d4cc186937

View file

@ -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;
}