summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2004-05-07 17:29:48 +0000
committerIan Romanick <[email protected]>2004-05-07 17:29:48 +0000
commitf539860f792feaec69f8033f2b0b86cc2212ee0b (patch)
treee708d5bd17b66d3e6da23ad3142a2ce9aa373083 /src/mesa/drivers/dri
parent4a1d4a25e2efd0be02d7aa2b31337fbcd2aac24b (diff)
Added a config option to set the number of available texture units. A
German translation is still needed.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/common/xmlpool.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/xmlpool.h b/src/mesa/drivers/dri/common/xmlpool.h
index 45dfb33a5b9..87d480a7dce 100644
--- 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