diff options
author | Vinson Lee <vlee@freedesktop.org> | 2012-01-28 07:36:04 +0100 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2012-01-31 07:50:51 -0700 |
commit | 9f0088e906a5893f864724281919aeea71e5947f (patch) | |
tree | 9465169b273b553db798e5b1f7caf0520d362035 /src/mesa/drivers | |
parent | f893fde63bb4d3f3802c950d2c8e0b4fc8129190 (diff) |
osmesa: Fix osmesa_context.DataType type.
Fixes these GCC warnings.
osmesa.c: In function ‘osmesa_renderbuffer_storage’:
osmesa.c:417: warning: comparison is always false due to limited range of data type
osmesa.c:423: warning: comparison is always false due to limited range of data type
osmesa.c:431: warning: comparison is always false due to limited range of data type
osmesa.c:437: warning: comparison is always false due to limited range of data type
osmesa.c:447: warning: comparison is always false due to limited range of data type
osmesa.c:453: warning: comparison is always false due to limited range of data type
osmesa.c:463: warning: comparison is always false due to limited range of data type
osmesa.c:466: warning: comparison is always false due to limited range of data type
osmesa.c:476: warning: comparison is always false due to limited range of data type
osmesa.c:479: warning: comparison is always false due to limited range of data type
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Signed-off-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit 136791ebc1fb91ef20dc65722a34f093d2947849)
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/osmesa/osmesa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c index 0a427414185..0ec2d377172 100644 --- a/src/mesa/drivers/osmesa/osmesa.c +++ b/src/mesa/drivers/osmesa/osmesa.c @@ -75,7 +75,7 @@ struct osmesa_context GLvoid *rowaddr[MAX_HEIGHT]; /*< address of first pixel in each image row */ GLboolean yup; /*< TRUE -> Y increases upward */ /*< FALSE -> Y increases downward */ - GLboolean DataType; + GLenum DataType; }; |