فهرست منبع

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 7 سال پیش
والد
کامیت
5f877d9458
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  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()) {