mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
add casts to quiet compiler warnings
This commit is contained in:
parent
6290ca42f2
commit
46d6bd368d
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue