diff options
author | Ian Romanick <[email protected]> | 2015-09-02 16:06:58 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2015-09-10 20:29:51 -0700 |
commit | 767c33e88138afa64443417860b264a494eba33d (patch) | |
tree | 2b87792c32413db7ee13e77975f314a83d7d5567 /src/mesa/drivers/common/meta_blit.c | |
parent | 86c0a2d57413f04fabd40fd09d87b0ff9d1cb092 (diff) |
meta: Always bind the texture
We may have been called from glGenerateTextureMipmap with CurrentUnit
still set to 0, so we don't know when we can skip binding the texture.
Assume that _mesa_BindTexture will be fast if we're rebinding the same
texture.
v2: Remove currentTexUnitSave because it is now unused. Suggested by
both Neil and Anuj.
Signed-off-by: Ian Romanick <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91847
Cc: "11.0" <[email protected]>
Reviewed-by: Neil Roberts <[email protected]>
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/drivers/common/meta_blit.c')
0 files changed, 0 insertions, 0 deletions