From: Ian Romanick Date: Wed, 13 Jan 2016 09:25:59 +0000 (-0800) Subject: meta/blit: Use _mesa_bind_texture instead of _mesa_BindTexture X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=05f4be96418b23abb3dc23666d5fa200696b1d4e;p=mesa.git meta/blit: Use _mesa_bind_texture instead of _mesa_BindTexture Signed-off-by: Ian Romanick Reviewed-by: Tapani Pälli --- diff --git a/src/mesa/drivers/common/meta_blit.c b/src/mesa/drivers/common/meta_blit.c index ee485829445..ea0bd3fead1 100644 --- a/src/mesa/drivers/common/meta_blit.c +++ b/src/mesa/drivers/common/meta_blit.c @@ -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);