mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-14 01:58:25 +00:00
[client] opengl: no need to re-bind the already bound texture
This commit is contained in:
parent
9cbc255448
commit
55d185ef9c
@ -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 New Issue
Block a user