[Mesa-dev] [PATCH 6/7] mesa: Make tfeedback_decl::var_name a const char *.

Paul Berry stereotype441 at gmail.com
Thu Dec 29 09:16:27 PST 2011


---
 src/glsl/linker.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp
index 452d8b5..6def821 100644
--- a/src/glsl/linker.cpp
+++ b/src/glsl/linker.cpp
@@ -1420,7 +1420,7 @@ private:
    /**
     * The name of the variable, parsed from orig_name.
     */
-   char *var_name;
+   const char *var_name;
 
    /**
     * True if the declaration in orig_name represents an array.
-- 
1.7.6.4



More information about the mesa-dev mailing list