mesa: Make tfeedback_decl::var_name a const char *.
authorPaul Berry <stereotype441@gmail.com>
Tue, 27 Dec 2011 16:24:57 +0000 (08:24 -0800)
committerPaul Berry <stereotype441@gmail.com>
Thu, 5 Jan 2012 21:27:11 +0000 (13:27 -0800)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/linker.cpp

index ef6a6e3647a68d8e01372be34bfed63544e11eea..e98b4cac2b546146366b9141ebda954ea1776309 100644 (file)
@@ -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.