summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri-r600/target.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/dri-r600/target.c')
-rw-r--r--src/gallium/targets/dri-r600/target.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/targets/dri-r600/target.c b/src/gallium/targets/dri-r600/target.c
index 40ad8a09ca8..a01f4ed49fd 100644
--- a/src/gallium/targets/dri-r600/target.c
+++ b/src/gallium/targets/dri-r600/target.c
@@ -1,5 +1,6 @@
#include "state_tracker/drm_driver.h"
+#include "target-helpers/inline_debug_helper.h"
#include "r600/drm/r600_drm_public.h"
#include "r600/r600_public.h"
@@ -17,6 +18,8 @@ create_screen(int fd)
if (!screen)
return NULL;
+ screen = debug_screen_wrap(screen);
+
return screen;
}