mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
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:
parent
ee6c9fcbca
commit
d4cc186937
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue