Fixed 32bpp base graphics set not working on 16bpp videomode

This commit is contained in:
Sergii Pylypenko
2014-07-01 22:01:22 +03:00
parent 4627d6c939
commit e4179d3428
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -451,7 +451,7 @@ static void *AllocateFont(size_t size)
static bool GetFontAAState(FontSize size)
{
/* AA is only supported for 32 bpp */
if (BlitterFactory::GetCurrentBlitter()->GetScreenDepth() != 32) return false;
if (BlitterFactory::GetCurrentBlitter()->GetScreenDepth() != 32 && BlitterFactory::GetCurrentBlitter()->GetScreenDepth() != 16) return false;
switch (size) {
default: NOT_REACHED();