ladybird/Tests/LibGL/CMakeLists.txt
Luke Wilde bc5dd8dd0f LibGL: Check that texture name is allocated before marking it as free
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.
2022-06-02 13:14:39 +02:00

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)