Making the API simpler, removed support for palettized video modes and textures.

This commit is contained in:
Sam Lantinga 2011-02-01 21:23:43 -08:00
parent b4fff42fc6
commit 09a8558897
23 changed files with 19 additions and 783 deletions

View file

@ -131,6 +131,10 @@ WIN_GetDisplayMode(LPCTSTR deviceName, DWORD index, SDL_DisplayMode * mode)
}
}
}
if (SDL_ISPIXELFORMAT_INDEXED(mode->format)) {
/* We don't support palettized modes now */
return SDL_FALSE;
}
return SDL_TRUE;
}