From 5f877d9458d82bc054b471e5c37197e2720cdb89 Mon Sep 17 00:00:00 2001 From: ReinUsesLisp Date: Fri, 17 May 2019 04:13:20 -0300 Subject: [PATCH] yuzu_cmd: Make OpenGL's context current The SDL2 frontend never bound the OpenGL context, resulting on a white screen and no-ops all over the backend. --- src/yuzu_cmd/yuzu.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp index a1d7879b1c..d3734927b9 100644 --- a/src/yuzu_cmd/yuzu.cpp +++ b/src/yuzu_cmd/yuzu.cpp @@ -222,6 +222,7 @@ int main(int argc, char** argv) { system.TelemetrySession().AddField(Telemetry::FieldType::App, "Frontend", "SDL"); + emu_window->MakeCurrent(); system.Renderer().Rasterizer().LoadDiskResources(); while (emu_window->IsOpen()) {