From: Brian Paul Date: Wed, 28 Jun 2000 15:48:32 +0000 (+0000) Subject: fixed two proxy texture typos X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=73b5e3766fb3d0115946c6a9f6b37e53671f3a3b;p=mesa.git fixed two proxy texture typos --- 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); } }