summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-10-07 17:37:37 +0100
committerEmil Velikov <[email protected]>2015-11-21 12:52:19 +0000
commitaf031deed6ab4d6236b896507e8afcf9d6fd3173 (patch)
treec33af382b6cf60eea4f570f95bcc9e1f2b3747c0 /src/gallium/state_trackers
parent950e06a29bd664af0cb454fc2f35f8cc4153e7f1 (diff)
target-helpers: move the DRI specifics to the target
Rather than having all targets include the file, with only some defining the relevant guard macro, just move things where they are used. v2: rebase on top of virgl support. Signed-off-by: Emil Velikov <[email protected]> Acked-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/dri/drisw.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/dri/drisw.c b/src/gallium/state_trackers/dri/drisw.c
index 753c59d696a..1b24f4896ea 100644
--- a/src/gallium/state_trackers/dri/drisw.c
+++ b/src/gallium/state_trackers/dri/drisw.c
@@ -34,6 +34,9 @@
* for createImage/destroyImage similar to DRI2 getBuffers.
*/
+/* XXX: Temporary hack, until we get rid of drisw_create_screen() */
+#define DRI_TARGET
+
#include "util/u_format.h"
#include "util/u_memory.h"
#include "util/u_inlines.h"