Browse Source

Added a config option to set the number of available texture units. A

German translation is still needed.
tags/R300_DRIVER_0
Ian Romanick 21 years ago
parent
commit
f539860f79
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      src/mesa/drivers/dri/common/xmlpool.h

+ 5
- 0
src/mesa/drivers/dri/common/xmlpool.h View File

@@ -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

Loading…
Cancel
Save