projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a31ac84
)
mesa: minor clean-up
author
Brian Paul
<brianp@vmware.com>
Wed, 16 Sep 2009 00:09:03 +0000
(18:09 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 16 Sep 2009 00:17:43 +0000
(18:17 -0600)
src/mesa/main/fbobject.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/fbobject.c
b/src/mesa/main/fbobject.c
index 991577a7126a1ce860b40631b8ed30d4ea5595a8..13f49da5a78f2bb47a83fc7f105d4482176ae77f 100644
(file)
--- a/
src/mesa/main/fbobject.c
+++ b/
src/mesa/main/fbobject.c
@@
-1960,13
+1960,13
@@
_mesa_GenerateMipmapEXT(GLenum target)
_mesa_lock_texture(ctx, texObj);
if (target == GL_TEXTURE_CUBE_MAP) {
- int face;
-
+ GLuint face;
for (face = 0; face < 6; face++)
ctx->Driver.GenerateMipmap(ctx,
GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB + face,
texObj);
- } else {
+ }
+ else {
ctx->Driver.GenerateMipmap(ctx, target, texObj);
}
_mesa_unlock_texture(ctx, texObj);