Explorar el Código

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.
ReinUsesLisp hace 7 años
padre
commit
5f877d9458
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/yuzu_cmd/yuzu.cpp

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