aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/target-helpers/inline_debug_helper.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-06-14 01:23:20 +0200
committerMarek Olšák <[email protected]>2011-06-14 01:45:11 +0200
commit63e38bd0f6a1958f174a98e4b06be3fb152048b4 (patch)
treeef9ed3f89f7f10104fdff9bf782c4806155ff947 /src/gallium/auxiliary/target-helpers/inline_debug_helper.h
parent9346d895e7ff6c1f01b46513694542026ffba5cc (diff)
target-helpers: remove copy-pasted function inline_noop_helper
Diffstat (limited to 'src/gallium/auxiliary/target-helpers/inline_debug_helper.h')
-rw-r--r--src/gallium/auxiliary/target-helpers/inline_debug_helper.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/target-helpers/inline_debug_helper.h b/src/gallium/auxiliary/target-helpers/inline_debug_helper.h
index 0433da6141d..c6630c40f5c 100644
--- a/src/gallium/auxiliary/target-helpers/inline_debug_helper.h
+++ b/src/gallium/auxiliary/target-helpers/inline_debug_helper.h
@@ -22,6 +22,10 @@
#include "galahad/glhd_public.h"
#endif
+#ifdef GALLIUM_NOOP
+#include "noop/noop_public.h"
+#endif
+
static INLINE struct pipe_screen *
debug_screen_wrap(struct pipe_screen *screen)
{
@@ -38,6 +42,10 @@ debug_screen_wrap(struct pipe_screen *screen)
screen = galahad_screen_create(screen);
#endif
+#if defined(GALLIUM_NOOP)
+ screen = noop_screen_create(screen);
+#endif
+
return screen;
}