瀏覽代碼

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