Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

You can't change the resolution on some devices

  • Loading branch information
slouken committed Jan 12, 2011
1 parent 83729fb commit 76a58bf037c817ca4bf4b0d2a2b30f27a9ec419b

File 1 of 1 in 76a58bf

@@ -694,6 +694,10 @@ SDL_SetDisplayModeForDisplay(SDL_VideoDisplay * display, const SDL_DisplayMode *
}

/* Actually change the display mode */
if (!_this->SetDisplayMode) {
SDL_SetError("Video driver doesn't support changing display mode");
return -1;
}
if (_this->SetDisplayMode(_this, display, &display_mode) < 0) {
return -1;
}

0 comments on commit 76a58bf

Please sign in to comment.