diff options
Diffstat (limited to 'linden/indra/newview/llglslshader.h')
-rw-r--r-- | linden/indra/newview/llglslshader.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linden/indra/newview/llglslshader.h b/linden/indra/newview/llglslshader.h index f3f83da..e517b94 100644 --- a/linden/indra/newview/llglslshader.h +++ b/linden/indra/newview/llglslshader.h | |||
@@ -118,6 +118,9 @@ public: | |||
118 | void bind(); | 118 | void bind(); |
119 | void unbind(); | 119 | void unbind(); |
120 | 120 | ||
121 | // Unbinds any previously bound shader by explicitly binding no shader. | ||
122 | static void bindNoShader(void); | ||
123 | |||
121 | GLhandleARB mProgramObject; | 124 | GLhandleARB mProgramObject; |
122 | std::vector<GLint> mAttribute; //lookup table of attribute enum to attribute channel | 125 | std::vector<GLint> mAttribute; //lookup table of attribute enum to attribute channel |
123 | std::vector<GLint> mUniform; //lookup table of uniform enum to uniform location | 126 | std::vector<GLint> mUniform; //lookup table of uniform enum to uniform location |