mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-11-04 06:31:54 +00:00 
			
		
		
		
	[client] opengl: no need to re-bind the already bound texture
This commit is contained in:
		@@ -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