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 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
|
||||
|
|
Loading…
Reference in New Issue