Revert PRs #2778 and #2812 (#2867)

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2867
Co-authored-by: MaranBr <maranbr@outlook.com>
Co-committed-by: MaranBr <maranbr@outlook.com>
This commit is contained in:
MaranBr 2025-10-28 18:56:03 +01:00 committed by crueter
parent 6b01c13975
commit ecf7af0cde
No known key found for this signature in database
GPG key ID: 425ACD2D4830EBC6
2 changed files with 17 additions and 19 deletions

View file

@ -243,7 +243,7 @@ Device::Device(Core::Frontend::EmuWindow& emu_window) {
}
if (shader_backend == Settings::ShaderBackend::Glsl && is_nvidia) {
const std::string driver_version = version.substr(13);
const std::string_view driver_version = version.substr(13);
const int version_major =
std::atoi(driver_version.substr(0, driver_version.find(".")).data());
if (version_major >= 495) {