summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/dri/SConscript
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-07-22 16:34:15 +0100
committerEmil Velikov <[email protected]>2015-07-22 16:35:25 +0100
commit72c784347bf66b61385cb57bb666033e5234ba69 (patch)
treef9b8e440f01ae56a94ef2c3e48814d1f1a8cebc8 /src/gallium/state_trackers/dri/SConscript
parent0efd773f719dd2deddb4b6703edf022b294cd349 (diff)
st/dri: unwrap/remove __NOT_HAVE_DRM_H magic
With the dri_interface.h clean of the macro, we can remove the final only st/dri specific use of the very same. Seemingly it was incorrectly used, as the build-time presence of dri2 is not libdrm specific. At run-time, the code is already limited to dri2 use-cases plus returning true, when the extension is not present (or too old) will likely lead to a crash as one tries to use it shortly after the dri_with_format() call. As a side effect this gives us a nice cleanup the builds. Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/dri/SConscript')
-rw-r--r--src/gallium/state_trackers/dri/SConscript3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/dri/SConscript b/src/gallium/state_trackers/dri/SConscript
index 89b5e611c2e..7a7060c4c2d 100644
--- a/src/gallium/state_trackers/dri/SConscript
+++ b/src/gallium/state_trackers/dri/SConscript
@@ -5,10 +5,7 @@ Import('*')
env = env.Clone()
-# XXX: If HAVE_DRI2
env.PkgUseModules(['DRM'])
-# else
-#env.Append(CPPDEFINES = [('__NOT_HAVE_DRM_H', '1')])
env.Append(CPPPATH = [
'#/src',