Added a boolean option for a floating-point depth buffer.
authorFelix Kuehling <fxkuehl@gmx.de>
Mon, 3 Jan 2005 22:15:41 +0000 (22:15 +0000)
committerFelix Kuehling <fxkuehl@gmx.de>
Mon, 3 Jan 2005 22:15:41 +0000 (22:15 +0000)
src/mesa/drivers/dri/common/xmlpool.h

index 311fcd0..789d14f 100644 (file)
@@ -210,6 +210,12 @@ DRI_CONF_OPT_BEGIN_V(dither_mode,enum,def,"0:2") \
         DRI_CONF_DESC_END \
 DRI_CONF_OPT_END
 
+#define DRI_CONF_FLOAT_DEPTH(def) \
+DRI_CONF_OPT_BEGIN(float_depth,bool,def) \
+        DRI_CONF_DESC(en,"Floating point depth buffer") \
+        DRI_CONF_DESC(de,"Fließkomma z-Puffer") \
+DRI_CONF_OPT_END
+
 /** \brief Performance-related options */
 #define DRI_CONF_SECTION_PERFORMANCE \
 DRI_CONF_SECTION_BEGIN \