eliminades referencies a opengl
This commit is contained in:
@@ -78,7 +78,9 @@ namespace GlobalInputs {
|
||||
// Activa o desactiva el supersampling 3x
|
||||
void toggleSupersampling() {
|
||||
Screen::toggleSupersampling();
|
||||
Notifier::get()->show({"3x SS: " + boolToOnOff(Options::video.supersampling)});
|
||||
const int SS = Options::video.supersampling;
|
||||
const std::string SS_LABEL = (SS <= 1) ? "OFF" : (std::to_string(SS) + "\xC3\x97");
|
||||
Notifier::get()->show({"SS: " + SS_LABEL});
|
||||
}
|
||||
|
||||
// Cambia al siguiente idioma
|
||||
@@ -199,15 +201,16 @@ namespace GlobalInputs {
|
||||
return true;
|
||||
}
|
||||
|
||||
// F4 con modificadores: Ctrl+F4 = supersampling, Shift+F4 = siguiente preset, F4 = toggle PostFX
|
||||
if (Input::get()->checkAction(Input::Action::TOGGLE_VIDEO_POSTFX, Input::DO_NOT_ALLOW_REPEAT, Input::CHECK_KEYBOARD)) {
|
||||
if ((SDL_GetModState() & SDL_KMOD_CTRL) != 0U) {
|
||||
toggleSupersampling();
|
||||
} else if (Options::video.postfx && ((SDL_GetModState() & SDL_KMOD_SHIFT) != 0U)) {
|
||||
nextPostFXPreset();
|
||||
} else {
|
||||
togglePostFX();
|
||||
}
|
||||
togglePostFX();
|
||||
return true;
|
||||
}
|
||||
if (Input::get()->checkAction(Input::Action::NEXT_POSTFX_PRESET, Input::DO_NOT_ALLOW_REPEAT, Input::CHECK_KEYBOARD)) {
|
||||
nextPostFXPreset();
|
||||
return true;
|
||||
}
|
||||
if (Input::get()->checkAction(Input::Action::TOGGLE_SUPERSAMPLING, Input::DO_NOT_ALLOW_REPEAT, Input::CHECK_KEYBOARD)) {
|
||||
toggleSupersampling();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user