Mercurial > games > semicongine
diff tests/test_materials.nim @ 352:00231e014642
fix: tests
author | Sam <sam@basx.dev> |
---|---|
date | Wed, 20 Sep 2023 22:02:20 +0700 |
parents | b83b3a1ccb05 |
children | 61c5d5fe9d93 |
line wrap: on
line diff
--- a/tests/test_materials.nim Tue Sep 19 23:53:04 2023 +0700 +++ b/tests/test_materials.nim Wed Sep 20 22:02:20 2023 +0700 @@ -5,7 +5,7 @@ let sampler = Sampler(magnification: VK_FILTER_NEAREST, minification: VK_FILTER_NEAREST) - (RT, WT, PT) = (hexToColorAlpha("A51931").asPixel, hexToColorAlpha("F4F5F8").asPixel, hexToColorAlpha("2D2A4A").asPixel) + (RT, WT, PT) = (toRGBA("A51931").asPixel, toRGBA("F4F5F8").asPixel, toRGBA("2D2A4A").asPixel) thai = Image(width: 7, height: 5, imagedata: @[ RT, RT, RT, RT, RT, RT, RT, WT, WT, WT, WT, WT, WT, WT,