summaryrefslogtreecommitdiff
path: root/lib/mesa/src/glx/dri_common_query_renderer.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/glx/dri_common_query_renderer.c')
-rw-r--r--lib/mesa/src/glx/dri_common_query_renderer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mesa/src/glx/dri_common_query_renderer.c b/lib/mesa/src/glx/dri_common_query_renderer.c
index 672e3bf31..6d2a06689 100644
--- a/lib/mesa/src/glx/dri_common_query_renderer.c
+++ b/lib/mesa/src/glx/dri_common_query_renderer.c
@@ -137,7 +137,7 @@ dri3_query_renderer_integer(struct glx_screen *base, int attribute,
if (psc->rendererQuery == NULL)
return -1;
- ret = psc->rendererQuery->queryInteger(psc->driScreen, dri_attribute,
+ ret = psc->rendererQuery->queryInteger(psc->driScreenRenderGPU, dri_attribute,
value);
dri_convert_context_profile_bits(attribute, value);
@@ -159,7 +159,7 @@ dri3_query_renderer_string(struct glx_screen *base, int attribute,
if (psc->rendererQuery == NULL)
return -1;
- return psc->rendererQuery->queryString(psc->driScreen, dri_attribute, value);
+ return psc->rendererQuery->queryString(psc->driScreenRenderGPU, dri_attribute, value);
}
#endif /* HAVE_DRI3 */