projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fc6db6
)
swrast: s/GLint/GLuint/ to silence MSVC signed/unsigned comparison warning
author
Brian Paul
<brianp@vmware.com>
Sat, 7 Jan 2012 21:16:27 +0000
(14:16 -0700)
committer
Brian Paul
<brianp@vmware.com>
Sat, 7 Jan 2012 21:16:27 +0000
(14:16 -0700)
src/mesa/swrast/s_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_context.c
b/src/mesa/swrast/s_context.c
index 924612578e29f473e10432dd0619479cf9f6d9c8..d9cd9703dba95a12469a653d691b8e0af21b00d2 100644
(file)
--- 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 GL
u
int maxThreads = omp_get_max_threads();
#else
- const GLint maxThreads = 1;
+ const GL
u
int maxThreads = 1;
#endif
if (SWRAST_DEBUG) {