diff options
author | Brian Paul <[email protected]> | 2004-07-20 21:16:07 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-07-20 21:16:07 +0000 |
commit | 782a32b847d097c33a8fc44d3443be08f967e616 (patch) | |
tree | 1210136c1314ec606006d8d819a7ba9179cc73da /src/mesa/tnl_dd | |
parent | 5fe90292f8720671704236552079412a319308b8 (diff) |
fix compare w/ zero warnings (bug 988766)
Diffstat (limited to 'src/mesa/tnl_dd')
-rw-r--r-- | src/mesa/tnl_dd/t_dd_dmatmp.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mesa/tnl_dd/t_dd_dmatmp.h b/src/mesa/tnl_dd/t_dd_dmatmp.h index 5ba6920804e..4322f26da4c 100644 --- a/src/mesa/tnl_dd/t_dd_dmatmp.h +++ b/src/mesa/tnl_dd/t_dd_dmatmp.h @@ -1,9 +1,8 @@ - /* * Mesa 3-D graphics library - * Version: 3.5 + * Version: 6.1 * - * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2004 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -1203,7 +1202,7 @@ static GLboolean TAG(validate_render)( GLcontext *ctx, ok = GL_TRUE; } else if (HAVE_TRI_STRIPS && (ctx->_TriangleCaps & DD_FLATSHADE)) { if (HAVE_ELTS) { - ok = count < GET_SUBSEQUENT_VB_MAX_ELTS(); + ok = (GLint) count < GET_SUBSEQUENT_VB_MAX_ELTS(); } else { ok = GL_FALSE; @@ -1216,7 +1215,7 @@ static GLboolean TAG(validate_render)( GLcontext *ctx, if (HAVE_QUADS) { ok = GL_TRUE; } else if (HAVE_ELTS) { - ok = count < GET_SUBSEQUENT_VB_MAX_ELTS(); + ok = (GLint) count < GET_SUBSEQUENT_VB_MAX_ELTS(); } else { ok = GL_FALSE; |