mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-20 22:50:36 +01:00
meta/blit: Use _mesa_bind_texture instead of _mesa_BindTexture
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
This commit is contained in:
parent
d17e6bc48e
commit
05f4be9641
1 changed files with 1 additions and 1 deletions
|
|
@ -937,7 +937,7 @@ _mesa_meta_setup_sampler(struct gl_context *ctx,
|
|||
samp_obj->WrapR);
|
||||
|
||||
/* Prepare src texture state */
|
||||
_mesa_BindTexture(target, texObj->Name);
|
||||
_mesa_bind_texture(ctx, target, texObj);
|
||||
if (target != GL_TEXTURE_RECTANGLE_ARB) {
|
||||
_mesa_texture_parameteriv(ctx, texObj, GL_TEXTURE_BASE_LEVEL,
|
||||
(GLint *) &srcLevel, false);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue