mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 21:50:11 +01:00
fixed two proxy texture typos
This commit is contained in:
parent
c079d690da
commit
73b5e3766f
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue