summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-05-17 13:04:33 -0400
committerGitHub <noreply@github.com>2019-05-17 13:04:33 -0400
commit6f1720a5b713648f7f05dca22726a21d8bf65d78 (patch)
treeaa87fd517e154bd399147c40bc10c2c2eb5f6350 /src
parent865025f612599e2560213d2326b2b8f5abe8b9e8 (diff)
parent5f877d9458d82bc054b471e5c37197e2720cdb89 (diff)
Merge pull request #2477 from ReinUsesLisp/fix-sdl2
yuzu_cmd: Make OpenGL's context current
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()) {