From: Jose Fonseca Date: Thu, 16 Jun 2016 14:22:37 +0000 (+0100) Subject: mesa/main: Update _mesa_new_shader. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d04f652b757d1c9e53ee338e92d18c4c516c9507;p=mesa.git mesa/main: Update _mesa_new_shader. Left over from 31dee99e052902bc08ddbb1009748dc982ac3211. It should fix Clang Windows build. Trivial. --- 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);