yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

Merge pull request #2477 from ReinUsesLisp/fix-sdl2

yuzu_cmd: Make OpenGL's context current
This commit is contained in:
bunnei 2019-05-17 13:04:33 -04:00 committed by GitHub
commit 6f1720a5b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -222,6 +222,7 @@ int main(int argc, char** argv) {
system.TelemetrySession().AddField(Telemetry::FieldType::App, "Frontend", "SDL"); system.TelemetrySession().AddField(Telemetry::FieldType::App, "Frontend", "SDL");
emu_window->MakeCurrent();
system.Renderer().Rasterizer().LoadDiskResources(); system.Renderer().Rasterizer().LoadDiskResources();
while (emu_window->IsOpen()) { while (emu_window->IsOpen()) {