Browse Source

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.
nce_cpp
ReinUsesLisp 7 years ago
parent
commit
657f98867d
  1. 1
      src/yuzu_cmd/yuzu.cpp

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

Loading…
Cancel
Save