aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/bootmanager.cpp
diff options
context:
space:
mode:
authorlizzie <lizzie@eden-emu.dev>2026-03-11 16:49:29 +0100
committercrueter <crueter@eden-emu.dev>2026-03-11 16:49:29 +0100
commit5a0780b826d868f6ffb49b8faa951600b9b65547 (patch)
tree50fb300a750e25e6f79a16762ac0e9d5be5b871f /src/yuzu/bootmanager.cpp
parentd35fc7b7ee47993cf8e45d7fd09d13f30ab85adf (diff)
[video_core] Properly disable/avoid building OpenGL when it's disabled (#3692)
- OpenGL symbols would still be included in builds without OpenGL, this pr fixes that - Same goes for Vulkan, but now with `ENABLE_VULKAN` - Add support to have OpenGL-only builds (why would you do this?) - Add support for headless runs (yes you could just select NULL backend, but why not compile it headless? :) Signed-off-by: lizzie <lizzie@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3692 Reviewed-by: crueter <crueter@eden-emu.dev> Reviewed-by: DraVee <chimera@dravee.dev> Reviewed-by: MaranBr <maranbr@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
Diffstat (limited to 'src/yuzu/bootmanager.cpp')
-rw-r--r--src/yuzu/bootmanager.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp
index 69b3681d0a..0c0ce6e90c 100644
--- a/src/yuzu/bootmanager.cpp
+++ b/src/yuzu/bootmanager.cpp
@@ -1020,8 +1020,7 @@ bool GRenderWindow::InitializeOpenGL() {
return true;
#else
- QMessageBox::warning(this, tr("OpenGL not available!"),
- tr("Eden has not been compiled with OpenGL support."));
+ QMessageBox::warning(this, tr("OpenGL not available!"), tr("Eden has not been compiled with OpenGL support."));
return false;
#endif
}
@@ -1031,7 +1030,6 @@ bool GRenderWindow::InitializeVulkan() {
child_widget = child;
child_widget->windowHandle()->create();
main_context = std::make_unique<DummyContext>();
-
return true;
}