projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c079d69
)
fixed two proxy texture typos
author
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 28 Jun 2000 15:48:32 +0000
(15:48 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 28 Jun 2000 15:48:32 +0000
(15:48 +0000)
src/mesa/main/teximage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/teximage.c
b/src/mesa/main/teximage.c
index
f5a2047
..
98f62c8
100644
(file)
--- a/
src/mesa/main/teximage.c
+++ b/
src/mesa/main/teximage.c
@@
-1557,7
+1557,7
@@
_mesa_TexImage2D( GLenum target, GLint level, GLint internalFormat,
}
else {
/* if no error, update proxy texture image parameters */
- init_texture_image(ctx->Texture.Proxy
1
D->Image[level],
+ init_texture_image(ctx->Texture.Proxy
2
D->Image[level],
width, height, 1, border, internalFormat);
}
}
@@
-1667,7
+1667,7
@@
_mesa_TexImage3D( GLenum target, GLint level, GLint internalFormat,
}
else {
/* if no error, update proxy texture image parameters */
- init_texture_image(ctx->Texture.Proxy
1
D->Image[level],
+ init_texture_image(ctx->Texture.Proxy
3
D->Image[level],
width, height, depth, border, internalFormat);
}
}