update deprecations for c3 0.7.9

This commit is contained in:
Alessandro Mauri 2026-03-11 17:37:07 +01:00
parent 4f7fa7d50c
commit d2a5e4739b
8 changed files with 28 additions and 28 deletions

View file

@ -35,7 +35,7 @@ fn void? SpriteAtlas.init(&this, String name, AtlasType type, ushort width, usho
{
// FIXME: for now only R8G8B8A8 format is supported
if (type != ATLAS_R8G8B8A8) {
return INVALID_TYPE?;
return INVALID_TYPE~;
}
this.id = name.hash();