projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a1d4a2
)
Added a config option to set the number of available texture units. A
author
Ian Romanick
<idr@us.ibm.com>
Fri, 7 May 2004 17:29:48 +0000
(17:29 +0000)
committer
Ian Romanick
<idr@us.ibm.com>
Fri, 7 May 2004 17:29:48 +0000
(17:29 +0000)
German translation is still needed.
src/mesa/drivers/dri/common/xmlpool.h
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/common/xmlpool.h
b/src/mesa/drivers/dri/common/xmlpool.h
index 45dfb33a5b974ca6a20b727229f99eacb29fba40..87d480a7dce2f8425b8995d27f972500ef7f904e 100644
(file)
--- a/
src/mesa/drivers/dri/common/xmlpool.h
+++ b/
src/mesa/drivers/dri/common/xmlpool.h
@@
-267,4
+267,9
@@
DRI_CONF_OPT_BEGIN_V(vblank_mode,enum,def,"0:3") \
DRI_CONF_DESC_END \
DRI_CONF_OPT_END
+#define DRI_CONF_MAX_TEXTURE_UNITS(def,min,max) \
+DRI_CONF_OPT_BEGIN_V(texture_units,int,def, # min ":" # max ) \
+ DRI_CONF_DESC(en,"Number of texture units") \
+DRI_CONF_OPT_END
+
#endif