summaryrefslogtreecommitdiff
path: root/src/glsl/glsl_types.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-08-02 11:35:14 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-08-02 13:53:32 -0700
commitcf41c8a0d8dac52bafb7c3e85171566c492786ab (patch)
tree8a611d3bc5b4d1ca253e7e1415d72ffe4a9f6edc /src/glsl/glsl_types.h
parenteb7e120f0f342541716882c211eca115c2cd0d21 (diff)
glsl2: Make glsl_types::ctx private again
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,