Module: Mesa Branch: master Commit: 7d960a352f9b4ae263371c5f318299e8cbabe277 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d960a352f9b4ae263371c5f318299e8cbabe277
Author: Brian Paul <[email protected]> Date: Sat Jan 7 14:16:27 2012 -0700 swrast: s/GLint/GLuint/ to silence MSVC signed/unsigned comparison warning --- src/mesa/swrast/s_context.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/s_context.c index 9246125..d9cd970 100644 --- a/src/mesa/swrast/s_context.c +++ b/src/mesa/swrast/s_context.c @@ -718,9 +718,9 @@ _swrast_CreateContext( struct gl_context *ctx ) GLuint i; SWcontext *swrast = (SWcontext *)CALLOC(sizeof(SWcontext)); #ifdef _OPENMP - const GLint maxThreads = omp_get_max_threads(); + const GLuint maxThreads = omp_get_max_threads(); #else - const GLint maxThreads = 1; + const GLuint maxThreads = 1; #endif if (SWRAST_DEBUG) { _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
