projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7383373
)
mesa: s/GLint/GLuint/ to fix MSVC warnings in mipmap.c
author
Brian Paul
<brianp@vmware.com>
Mon, 8 Jul 2013 15:59:20 +0000
(09:59 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 12 Jul 2013 14:19:49 +0000
(08:19 -0600)
src/mesa/main/mipmap.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/mipmap.c
b/src/mesa/main/mipmap.c
index f1e12e8cfa274fe1ea598ce80f304933be85bc94..edf72572145a3d4a39435e349eb9852e717d9f26 100644
(file)
--- a/
src/mesa/main/mipmap.c
+++ b/
src/mesa/main/mipmap.c
@@
-1885,7
+1885,7
@@
generate_mipmap_uncompressed(struct gl_context *ctx, GLenum target,
const struct gl_texture_image *srcImage,
GLuint maxLevel)
{
- GLint level;
+ GL
u
int level;
GLenum datatype;
GLuint comps;
@@
-2017,7
+2017,7
@@
generate_mipmap_compressed(struct gl_context *ctx, GLenum target,
struct gl_texture_image *srcImage,
GLuint maxLevel)
{
- GLint level;
+ GL
u
int level;
gl_format temp_format;
GLint components;
GLuint temp_src_stride; /* in bytes */