Use hyphen-minus to separate test texture filename parts

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).
This commit is contained in:
Nils Dagsson Moskopp 2023-11-29 17:38:46 +01:00
parent 0272fa5ccd
commit 72a4f41aa7
Signed by: erle
GPG Key ID: A3BC671C35191080
1 changed files with 4 additions and 4 deletions

View File

@ -70,8 +70,8 @@ for color_format, _ in pairs(
local filename local filename
local pixels local pixels
filename = "type1" .. filename = "type1" ..
'_' .. color_format .. '-' .. color_format ..
'_' .. scanline_order .. '-' .. scanline_order ..
'.tga' '.tga'
pixels = pixels_colormapped_by_scanline_order[ pixels = pixels_colormapped_by_scanline_order[
scanline_order scanline_order
@ -196,8 +196,8 @@ for color_format, _ in pairs(
tga_encoder.features.scanline_order tga_encoder.features.scanline_order
) do ) do
local filename = "type" .. tga_type .. local filename = "type" .. tga_type ..
'_' .. color_format .. '-' .. color_format ..
'_' .. scanline_order .. '-' .. scanline_order ..
'.tga' '.tga'
local pixels = pixels_by_scanline_order[ local pixels = pixels_by_scanline_order[
scanline_order scanline_order