mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-10 14:23:57 +00:00
[client] opengl: no need to re-bind the already bound texture
This commit is contained in:
parent
9cbc255448
commit
55d185ef9c
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue