aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx/dri2_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/dri2_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/dri2_glx.c')
-rw-r--r--src/glx/dri2_glx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c
index 462d5602a1c..538cf1adb82 100644
--- a/src/glx/dri2_glx.c
+++ b/src/glx/dri2_glx.c
@@ -1310,6 +1310,8 @@ dri2CreateScreen(int screen, struct glx_display * priv)
if (psc->show_fps_interval < 0)
psc->show_fps_interval = 0;
+ InfoMessageF("Using DRI2 for screen %d\n", screen);
+
return &psc->base;
handle_error: