SDL: Add TODO about fullscreen modes to OpenGL SDL code.
This commit is contained in:
parent
0654a45c05
commit
c300944335
1 changed files with 3 additions and 0 deletions
|
@ -57,6 +57,9 @@ OpenGLSdlGraphicsManager::OpenGLSdlGraphicsManager(uint desktopWidth, uint deskt
|
|||
}
|
||||
#else
|
||||
const SDL_Rect *const *availableModes = SDL_ListModes(NULL, SDL_OPENGL | SDL_FULLSCREEN);
|
||||
// TODO: NULL means that there are no fullscreen modes supported. We
|
||||
// should probably use this information and disable any fullscreen support
|
||||
// in this case.
|
||||
if (availableModes != NULL && availableModes != (void *)-1) {
|
||||
for (;*availableModes; ++availableModes) {
|
||||
const SDL_Rect *mode = *availableModes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue