[client] opengl: no need to re-bind the already bound texture
This commit is contained in:
1 parent
9cbc255448
commit
55d185ef9c
1 file changed
-1
@@ -1381,7 +1381,6 @@ static bool draw_frame(struct Inst * this)
|
||||
(this->format.width > this->destRect.w) ||
|
||||
(this->format.height > this->destRect.h));
|
||||
|
||||
glBindTexture(GL_TEXTURE_2D, this->frames[this->texIndex]);
|
||||
if (mipmap)
|
||||
{
|
||||
glGenerateMipmap(GL_TEXTURE_2D);
|
||||
|
||||
Reference in new issue
Block a user