mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:02:45 +00:00 
			
		
		
		
	 bc5dd8dd0f
			
		
	
	
		bc5dd8dd0f
		
	
	
	
	
		
			
			glDeleteTextures previously did not check that the texture name was allocated by glGenTextures before adding it to the free texture name list. This means that if you delete a texture twice in a row, the name will appear twice in the free texture list, making glGenTextures return the same texture name twice in a row.
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			227 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			227 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| set(TEST_SOURCES
 | |
|     TestAPI.cpp
 | |
|     TestRender.cpp
 | |
| )
 | |
| 
 | |
| foreach(source IN LISTS TEST_SOURCES)
 | |
|     serenity_test("${source}" LibGL LIBS LibCore LibGL)
 | |
| endforeach()
 | |
| 
 | |
| install(DIRECTORY reference-images DESTINATION usr/Tests/LibGL)
 |