Mesa (master): mesa: Make tfeedback_decl::var_name a const char *.

Paul Berry stereotype441 at kemper.freedesktop.org
Thu Jan 5 21:31:09 UTC 2012


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

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

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

Reviewed-by: Kenneth Graunke <kenneth at 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.




More information about the mesa-commit mailing list