diff options
author | Ian Romanick <[email protected]> | 2016-01-13 01:25:59 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2018-01-02 16:23:51 -0800 |
commit | 05f4be96418b23abb3dc23666d5fa200696b1d4e (patch) | |
tree | 61dd43e0533232e47ae2a373b60bbac0bc404e17 /src/mesa/drivers/common/meta_blit.c | |
parent | d17e6bc48eaf20898ae34059372d58b6c8190f0f (diff) |
meta/blit: Use _mesa_bind_texture instead of _mesa_BindTexture
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/mesa/drivers/common/meta_blit.c')
-rw-r--r-- | src/mesa/drivers/common/meta_blit.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |