summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-05-17 19:04:33 +0200
committerGitHub <noreply@github.com>2019-05-17 19:04:33 +0200
commit6f1720a5b713648f7f05dca22726a21d8bf65d78 (patch)
treeaa87fd517e154bd399147c40bc10c2c2eb5f6350 /src
parentMerge pull request #2478 from ReinUsesLisp/sdl2-compat (diff)
parentyuzu_cmd: Make OpenGL's context current (diff)
downloadyuzu-6f1720a5b713648f7f05dca22726a21d8bf65d78.tar
yuzu-6f1720a5b713648f7f05dca22726a21d8bf65d78.tar.gz
yuzu-6f1720a5b713648f7f05dca22726a21d8bf65d78.tar.bz2
yuzu-6f1720a5b713648f7f05dca22726a21d8bf65d78.tar.lz
yuzu-6f1720a5b713648f7f05dca22726a21d8bf65d78.tar.xz
yuzu-6f1720a5b713648f7f05dca22726a21d8bf65d78.tar.zst
yuzu-6f1720a5b713648f7f05dca22726a21d8bf65d78.zip
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()) {