projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e1bf94
)
scons: Define IN_DRI_DRIVER.
author
Chia-I Wu
<olv@lunarg.com>
Sun, 21 Nov 2010 01:47:11 +0000
(17:47 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Sun, 21 Nov 2010 01:47:11 +0000
(17:47 -0800)
The define is required for DRI drivers. It is not needed for
libgl-xlib, but the overhead it introduces should be minor.
src/mesa/SConscript
patch
|
blob
|
history
diff --git
a/src/mesa/SConscript
b/src/mesa/SConscript
index 5fe5d39fb1d2afe430d7ca1978f6f446789219aa..08d731de2d55e832cb5c982f63d7a0cef011678d 100644
(file)
--- a/
src/mesa/SConscript
+++ b/
src/mesa/SConscript
@@
-19,6
+19,10
@@
if env['platform'] == 'windows':
'WIN32_THREADS', # use Win32 thread API
])
env.Prepend(CPPPATH = ['#src/talloc'])
+else:
+ env.Append(CPPDEFINES = [
+ 'IN_DRI_DRIVER', # enable the remap table (for DRI drivers)
+ ])
#
# Source files