From c9073b1d80d56d3d10888fef383b4d265de3bdd2 Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 12 Apr 2010 16:47:59 +0000 Subject: [PATCH] Put back a fix that the PandaSE team happily but accidentally reverted --- panda/src/gobj/shader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/gobj/shader.h b/panda/src/gobj/shader.h index 20a80486fc..bf478fc2a1 100755 --- a/panda/src/gobj/shader.h +++ b/panda/src/gobj/shader.h @@ -66,7 +66,7 @@ PUBLISHED: static PT(Shader) make(const ShaderLanguage &lang, const string &vertex, const string &fragment, const string &geometry = ""); INLINE const Filename get_filename(const ShaderType &type = ST_none) const; - INLINE const string get_text(const ShaderType &type = ST_none) const; + INLINE const string &get_text(const ShaderType &type = ST_none) const; INLINE const bool get_error_flag() const; INLINE const ShaderLanguage get_language() const;