summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texparam.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-11-16 01:44:10 +0100
committerMarek Olšák <[email protected]>2018-02-13 01:00:45 +0100
commitd7550d783abc9a7bcfeee34aea2f03d2fc9db69a (patch)
tree8360ea392da5589841b17f1a7d1e5a993224270c /src/mesa/main/texparam.c
parent65ed98839b612ada9b5a3da3bedff135798bdb74 (diff)
mesa: reduce the size of gl_texture_object
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/texparam.c')
-rw-r--r--src/mesa/main/texparam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texparam.c b/src/mesa/main/texparam.c
index 4a0f61eda81..7cc9d9e8faa 100644
--- a/src/mesa/main/texparam.c
+++ b/src/mesa/main/texparam.c
@@ -208,7 +208,7 @@ comp_to_swizzle(GLenum comp)
static void
-set_swizzle_component(GLuint *swizzle, GLuint comp, GLuint swz)
+set_swizzle_component(GLushort *swizzle, GLuint comp, GLuint swz)
{
assert(comp < 4);
assert(swz <= SWIZZLE_NIL);