From 72a4f41aa7fb8fe4cbd0076b0d87cfa1021bc5f1 Mon Sep 17 00:00:00 2001 From: Nils Dagsson Moskopp Date: Wed, 29 Nov 2023 17:38:46 +0100 Subject: [PATCH] Use hyphen-minus to separate test texture filename parts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The scanline orders “bottom_top” and “top_bottom” contain an underscore. Therefore, the underscore is no longer an appropriate separator for the test texture filename parts (TGA type, color format, scanline order). --- tools/generate_test_textures.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/generate_test_textures.lua b/tools/generate_test_textures.lua index 7bc9d86..a0d2e3e 100755 --- a/tools/generate_test_textures.lua +++ b/tools/generate_test_textures.lua @@ -70,8 +70,8 @@ for color_format, _ in pairs( local filename local pixels filename = "type1" .. - '_' .. color_format .. - '_' .. scanline_order .. + '-' .. color_format .. + '-' .. scanline_order .. '.tga' pixels = pixels_colormapped_by_scanline_order[ scanline_order @@ -196,8 +196,8 @@ for color_format, _ in pairs( tga_encoder.features.scanline_order ) do local filename = "type" .. tga_type .. - '_' .. color_format .. - '_' .. scanline_order .. + '-' .. color_format .. + '-' .. scanline_order .. '.tga' local pixels = pixels_by_scanline_order[ scanline_order