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:
parent
0272fa5ccd
commit
72a4f41aa7
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue