summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-05-17 04:13:20 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-05-17 04:13:20 -0300
commit5f877d9458d82bc054b471e5c37197e2720cdb89 (patch)
tree7dc812cad87b1d7e14b944770ede20ae1c4aac50 /src
parentc4d549919fbcae062d7bfc6ecb4162fdbcf858f4 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/yuzu_cmd/yuzu.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp
index a1d7879b1..d3734927b 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()) {