aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx/dri3_glx.c
diff options
context:
space:
mode:
authorMartin Peres <[email protected]>2015-05-06 13:31:30 +0300
committerMartin Peres <[email protected]>2015-05-07 16:56:14 +0300
commitcedd5008dad7750835cc4a4a318afc82fe351eac (patch)
tree38678a24a7471f5c08525c514767114c7f7e48a7 /src/glx/dri3_glx.c
parentcf5e015f71496e0626cd5c6262af1c5099391850 (diff)
glx: report which DRI version is used when in verbose debug mode
This should make it more obvious in bug reports while also removing any sort of guesswork for developers. Reviewed-by: Kenneth Graunke <[email protected]> Signed-off-by: Martin Peres <[email protected]>
Diffstat (limited to 'src/glx/dri3_glx.c')
-rw-r--r--src/glx/dri3_glx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glx/dri3_glx.c b/src/glx/dri3_glx.c
index 1ddc723d508..ff77a91b15f 100644
--- a/src/glx/dri3_glx.c
+++ b/src/glx/dri3_glx.c
@@ -2036,6 +2036,8 @@ dri3_create_screen(int screen, struct glx_display * priv)
if (psc->show_fps_interval < 0)
psc->show_fps_interval = 0;
+ InfoMessageF("Using DRI3 for screen %d\n", screen);
+
return &psc->base;
handle_error: