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.
This commit is contained in:
ReinUsesLisp 2019-05-17 04:13:20 -03:00
parent c4d549919f
commit 5f877d9458
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");
emu_window->MakeCurrent();
system.Renderer().Rasterizer().LoadDiskResources();
while (emu_window->IsOpen()) {