Codechange: Use EnumBitSet for SpriteComponent. (#13509)
This commit is contained in:
@@ -228,7 +228,8 @@ void Win32FontCache::ClearFontCache()
|
||||
SpriteLoader::Sprite &sprite = spritecollection[ZOOM_LVL_MIN];
|
||||
sprite.AllocateData(ZOOM_LVL_MIN, width * height);
|
||||
sprite.type = SpriteType::Font;
|
||||
sprite.colours = (aa ? SCC_PAL | SCC_ALPHA : SCC_PAL);
|
||||
sprite.colours = SpriteComponent::Palette;
|
||||
if (aa) sprite.colours.Set(SpriteComponent::Alpha);
|
||||
sprite.width = width;
|
||||
sprite.height = height;
|
||||
sprite.x_offs = gm.gmptGlyphOrigin.x;
|
||||
|
||||
Reference in New Issue
Block a user