summaryrefslogtreecommitdiff
path: root/src/glsl/glsl_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/glsl_types.h')
-rw-r--r--src/glsl/glsl_types.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/glsl/glsl_types.h b/src/glsl/glsl_types.h
index 4bec318167..bae8cdb233 100644
--- a/src/glsl/glsl_types.h
+++ b/src/glsl/glsl_types.h
@@ -388,6 +388,7 @@ struct glsl_type {
return is_array() ? length : -1;
}
+private:
/**
* talloc context for all glsl_type allocations
*
@@ -395,7 +396,8 @@ struct glsl_type {
*/
static TALLOC_CTX *ctx;
-private:
+ void init_talloc_type_ctx(void);
+
/** Constructor for vector and matrix types */
glsl_type(GLenum gl_type,
unsigned base_type, unsigned vector_elements,