projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6290ca4
)
add casts to quiet compiler warnings
author
Karl Schultz
<kschultz@freedesktop.org>
Thu, 15 Jan 2004 15:43:07 +0000
(15:43 +0000)
committer
Karl Schultz
<kschultz@freedesktop.org>
Thu, 15 Jan 2004 15:43:07 +0000
(15:43 +0000)
src/mesa/tnl/t_array_api.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_array_api.c
b/src/mesa/tnl/t_array_api.c
index e4f90756c5383ef871504bf44e7ddca31b31728a..f83176eb26d1745bee18613d4ed5b774d6334012 100644
(file)
--- a/
src/mesa/tnl/t_array_api.c
+++ b/
src/mesa/tnl/t_array_api.c
@@
-152,8
+152,8
@@
_tnl_DrawArrays(GLenum mode, GLint start, GLsizei count)
*/
fallback_drawarrays( ctx, mode, start, start + count );
}
- else if (start >= ctx->Array.LockFirst &&
- start + count <=
ctx->Array.LockFirst + ctx->Array.LockCount
) {
+ else if (start >=
(GLint)
ctx->Array.LockFirst &&
+ start + count <=
(GLint)(ctx->Array.LockFirst + ctx->Array.LockCount)
) {
struct tnl_prim prim;