Module: Mesa
Branch: master
Commit: 913a5c238b76a84616917dd47c3c7f627c892e58
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=913a5c238b76a84616917dd47c3c7f627c892e58

Author: Paul Berry <stereotype...@gmail.com>
Date:   Tue Dec 27 08:24:57 2011 -0800

mesa: Make tfeedback_decl::var_name a const char *.

Reviewed-by: Kenneth Graunke <kenn...@whitecape.org>

---

 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 ef6a6e3..e98b4ca 100644
--- a/src/glsl/linker.cpp
+++ b/src/glsl/linker.cpp
@@ -1421,7 +1421,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.

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to