mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-12 21:58:34 +02:00
[meta] Add option to FORCE X11 as Graphics Backend (#2820)
* save the option on a external file because settings are loaded AFTER Qt window is created and then the graphics backend is already applied Signed-off-by: Caio Oliveira <caiooliveirafarias0@gmail.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2820 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: Shinmegumi <shinmegumi@eden-emu.dev> Co-authored-by: Caio Oliveira <caiooliveirafarias0@gmail.com> Co-committed-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
This commit is contained in:
parent
e4b0c03a22
commit
2f591d33d3
7 changed files with 119 additions and 0 deletions
15
src/qt_common/gui_settings.h
Normal file
15
src/qt_common/gui_settings.h
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QSettings>
|
||||
#include <QString>
|
||||
|
||||
namespace GraphicsBackend {
|
||||
|
||||
QString GuiConfigPath();
|
||||
void SetForceX11(bool state);
|
||||
bool GetForceX11();
|
||||
|
||||
} // namespace GraphicsBackend
|
||||
Loading…
Add table
Add a link
Reference in a new issue