mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-04 17:40:01 +00:00
Check ColorSpace{} constructor
This commit is contained in:
parent
9e22d25136
commit
233c56a880
@ -4,8 +4,10 @@
|
||||
-- Read LICENSE.txt for more information.
|
||||
|
||||
local none = ColorSpace() -- None
|
||||
local srgb = ColorSpace{ sRGB }
|
||||
local srgb = ColorSpace{ sRGB=true }
|
||||
local none2 = ColorSpace{ sRGB=false }
|
||||
assert(none ~= srgb)
|
||||
assert(none == none2)
|
||||
|
||||
local spr = Sprite(32, 32)
|
||||
local cs1 = spr.colorSpace
|
||||
|
Loading…
Reference in New Issue
Block a user