summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorJose Fonseca <[email protected]>2016-06-16 15:22:37 +0100
committerJose Fonseca <[email protected]>2016-06-16 15:22:37 +0100
commitd04f652b757d1c9e53ee338e92d18c4c516c9507 (patch)
tree7f331b49e5ef0cf509e64c35f7fc0938bbd34879 /src/mesa/main
parent6d877d7121fdf16c91897b99ffd40d549d06d3a9 (diff)
mesa/main: Update _mesa_new_shader.
Left over from 31dee99e052902bc08ddbb1009748dc982ac3211. It should fix Clang Windows build. Trivial.
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/shaderobj.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/shaderobj.h b/src/mesa/main/shaderobj.h
index 53836f131fb..3abd597a58c 100644
--- a/src/mesa/main/shaderobj.h
+++ b/src/mesa/main/shaderobj.h
@@ -80,7 +80,7 @@ extern void
_mesa_init_shader(struct gl_context *ctx, struct gl_shader *shader);
extern struct gl_shader *
-_mesa_new_shader(struct gl_context *ctx, GLuint name, GLenum type);
+_mesa_new_shader(struct gl_context *ctx, GLuint name, gl_shader_stage type);
extern void
_mesa_delete_shader(struct gl_context *ctx, struct gl_shader *sh);