mes comandos per a Console

This commit is contained in:
2026-03-28 14:14:33 +01:00
parent 854a5f04b2
commit 71c7b8e553
6 changed files with 47 additions and 3 deletions

View File

@@ -529,6 +529,11 @@ void Screen::setDownscaleAlgo(int algo) {
}
}
auto Screen::getSsTextureSize() const -> std::pair<int, int> {
if (!shader_backend_) { return {0, 0}; }
return shader_backend_->getSsTextureSize();
}
// Activa/desactiva el supersampling global (Ctrl+F4)
void Screen::toggleSupersampling() {
Options::video.supersampling = !Options::video.supersampling;