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.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/glsl/glsl_types.h b/src/glsl/glsl_types.h
index 8ba9b5ff63..69fb9e3fb5 100644
--- a/src/glsl/glsl_types.h
+++ b/src/glsl/glsl_types.h
@@ -197,8 +197,7 @@ struct glsl_type {
/**
* Get the instance of an array type
*/
- static const glsl_type *get_array_instance(void *ctx,
- const glsl_type *base,
+ static const glsl_type *get_array_instance(const glsl_type *base,
unsigned elements);
/**
@@ -412,7 +411,7 @@ private:
const char *name);
/** Constructor for array types */
- glsl_type(void *ctx, const glsl_type *array, unsigned length);
+ glsl_type(const glsl_type *array, unsigned length);
/** Hash table containing the known array types. */
static struct hash_table *array_types;