From 60117c5cf9fcbc5d87bc79fab9cdcfb08d51cd6b Mon Sep 17 00:00:00 2001 From: Shylie Date: Tue, 28 May 2024 13:06:06 -0400 Subject: [PATCH] Test testing code --- tests/test-common/test-common.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test-common/test-common.cpp b/tests/test-common/test-common.cpp index 1a61737..b8e7e50 100644 --- a/tests/test-common/test-common.cpp +++ b/tests/test-common/test-common.cpp @@ -18,7 +18,8 @@ void glerminal_test_save_image() // GL_TEXTURE_2D is not rebound after setting up screen framebuffer // This code will break if this behavior changes - glGetTexImage(GL_TEXTURE_2D, 0, GL_RGB, GL_UNSIGNED_BYTE, pixels); + // commented out as a test + //glGetTexImage(GL_TEXTURE_2D, 0, GL_RGB, GL_UNSIGNED_BYTE, pixels); stbi_flip_vertically_on_write(true); stbi_write_png("image.png", GRID_WIDTH * CELL_SCALE * 8, GRID_HEIGHT * CELL_SCALE * 8, 3, pixels, 1280 * 3);