mirror of
				https://github.com/ocornut/imgui.git
				synced 2025-11-03 17:24:24 +00:00 
			
		
		
		
	Examples: OpenGL fixed-pipeline: added glBindTexture(0), via Anton M
This commit is contained in:
		@@ -87,6 +87,7 @@ static void ImGui_ImplGlfw_RenderDrawLists(ImDrawList** const cmd_lists, int cmd
 | 
			
		||||
    glDisableClientState(GL_COLOR_ARRAY);
 | 
			
		||||
    glDisableClientState(GL_TEXTURE_COORD_ARRAY);
 | 
			
		||||
    glDisableClientState(GL_VERTEX_ARRAY);
 | 
			
		||||
    glBindTexture(GL_TEXTURE_2D, 0);
 | 
			
		||||
    glMatrixMode(GL_MODELVIEW);
 | 
			
		||||
    glPopMatrix();
 | 
			
		||||
    glMatrixMode(GL_PROJECTION);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user