summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-06-28 15:48:32 +0000
committerBrian Paul <[email protected]>2000-06-28 15:48:32 +0000
commit73b5e3766fb3d0115946c6a9f6b37e53671f3a3b (patch)
treebbb41e74334d4ad4b791e8b5ff0962e6fd0525ec /src
parentc079d690da94c103e632ecb799f02072a11e35a6 (diff)
fixed two proxy texture typos
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/teximage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index f5a2047b33a..98f62c8162c 100644
--- 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.Proxy1D->Image[level],
+ init_texture_image(ctx->Texture.Proxy2D->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.Proxy1D->Image[level],
+ init_texture_image(ctx->Texture.Proxy3D->Image[level],
width, height, depth, border, internalFormat);
}
}