projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9b5524
)
main: Move MESA_SHADER_TYPES outside of gl_shader_type enum.
author
Paul Berry
<stereotype441@gmail.com>
Mon, 16 Dec 2013 21:05:09 +0000
(13:05 -0800)
committer
Paul Berry
<stereotype441@gmail.com>
Tue, 17 Dec 2013 20:31:36 +0000
(12:31 -0800)
This will avoid spurious compiler warnings in the patch that follows.
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/mtypes.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/mtypes.h
b/src/mesa/main/mtypes.h
index f7e13910fb5e808f650b537713b829299883fd63..534c3bc50f717c25889f2003a5d2e5bd62119c60 100644
(file)
--- 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
{