Making the API simpler, removed support for palettized video modes and textures.
This commit is contained in:
parent
b4fff42fc6
commit
09a8558897
23 changed files with 19 additions and 783 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue