2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

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

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()) {