diff options
author | Paul Berry <[email protected]> | 2013-12-16 13:05:09 -0800 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-12-17 12:31:36 -0800 |
commit | abab4385437bdcfbfff1cf772a5c418eb06ed822 (patch) | |
tree | 57f06ec378fc2d2d40c30e265de64c582843e2d8 /src/mesa | |
parent | d9b55244fd56b5971b40fdadb262a25840197096 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/mtypes.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 { |