From 73b5e3766fb3d0115946c6a9f6b37e53671f3a3b Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 28 Jun 2000 15:48:32 +0000 Subject: fixed two proxy texture typos --- src/mesa/main/teximage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); } } -- cgit v1.2.3