mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-30 23:43:10 +00:00
BACKEND: Drop bpp param. it was used for grim only.
This commit is contained in:
parent
6abfc506fe
commit
b05551ec2d
@ -209,7 +209,7 @@ void SurfaceSdlGraphics3dManager::createOrUpdateScreen() {
|
||||
if (_fullscreen)
|
||||
sdlflags |= SDL_FULLSCREEN;
|
||||
|
||||
_screen = SDL_SetVideoMode(effectiveWidth, effectiveHeight, ConfMan.getInt("bpp"), sdlflags);
|
||||
_screen = SDL_SetVideoMode(effectiveWidth, effectiveHeight, 0, sdlflags);
|
||||
if (!_screen) {
|
||||
warning("SDL_SetVideoMode failed: %s", SDL_GetError());
|
||||
g_system->quit();
|
||||
|
@ -159,8 +159,6 @@ static const char HELP_STRING[] =
|
||||
" --no-show-fps Set the turn off display FPS info in 3D games\n"
|
||||
" --renderer=RENDERER Select 3D renderer (software, opengl, opengl_shaders)\n"
|
||||
" --aspect-ratio Enable aspect ratio correction\n"
|
||||
" --bpp=NUM Select number of bits per pixel, 0 (auto-detect), 16, 32\n"
|
||||
" (default: 0) (only supported by software 3D renderer)\n"
|
||||
" --[no-]dirtyrects Enable dirty rectangles optimisation in software renderer\n"
|
||||
" (default: enabled)\n"
|
||||
#endif
|
||||
@ -260,7 +258,6 @@ void registerDefaults() {
|
||||
// ResidualVM specific start
|
||||
ConfMan.registerDefault("show_fps", false);
|
||||
ConfMan.registerDefault("dirtyrects", true);
|
||||
ConfMan.registerDefault("bpp", 0);
|
||||
ConfMan.registerDefault("vsync", true);
|
||||
// ResidualVM specific end
|
||||
|
||||
@ -729,9 +726,6 @@ Common::String parseCommandLine(Common::StringMap &settings, int argc, const cha
|
||||
usage("Unrecognized render mode '%s'", option);*/
|
||||
|
||||
// ResidualVM specific start
|
||||
DO_LONG_OPTION_INT("bpp")
|
||||
END_OPTION
|
||||
|
||||
DO_LONG_OPTION_BOOL("dirtyrects")
|
||||
END_OPTION
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user