From: Paul Berry Date: Mon, 16 Dec 2013 21:05:09 +0000 (-0800) Subject: main: Move MESA_SHADER_TYPES outside of gl_shader_type enum. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=abab4385437bdcfbfff1cf772a5c418eb06ed822;p=mesa.git main: Move MESA_SHADER_TYPES outside of gl_shader_type enum. This will avoid spurious compiler warnings in the patch that follows. Reviewed-by: Brian Paul --- diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index f7e13910fb5..534c3bc50f7 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2399,9 +2399,10 @@ typedef enum MESA_SHADER_VERTEX = 0, MESA_SHADER_GEOMETRY = 1, MESA_SHADER_FRAGMENT = 2, - MESA_SHADER_TYPES = 3 } gl_shader_type; +#define MESA_SHADER_TYPES (MESA_SHADER_FRAGMENT + 1) + struct gl_uniform_buffer_variable {