[Mesa-dev] [PATCH 09/16] driconf: bump the maximum string size from 25 to 1024

Martin Peres martin.peres at linux.intel.com
Fri Jun 5 06:04:03 PDT 2015


The soon-to-be-introduced "extension_override" will potentially
introduce very long strings that should not be truncated.

Signed-off-by: Martin peres <martin.peres at linux.intel.com>
---
 src/mesa/drivers/dri/common/xmlconfig.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/common/xmlconfig.h b/src/mesa/drivers/dri/common/xmlconfig.h
index 8969843..1168379 100644
--- a/src/mesa/drivers/dri/common/xmlconfig.h
+++ b/src/mesa/drivers/dri/common/xmlconfig.h
@@ -30,7 +30,7 @@
 #ifndef __XMLCONFIG_H
 #define __XMLCONFIG_H
 
-#define STRING_CONF_MAXLEN 25
+#define STRING_CONF_MAXLEN 1024
 
 /** \brief Option data types */
 typedef enum driOptionType {
-- 
2.4.2



More information about the mesa-dev mailing list