2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

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

View file

@ -222,6 +222,7 @@ int main(int argc, char** argv) {
system.TelemetrySession().AddField(Telemetry::FieldType::App, "Frontend", "SDL"); system.TelemetrySession().AddField(Telemetry::FieldType::App, "Frontend", "SDL");
emu_window->MakeCurrent();
system.Renderer().Rasterizer().LoadDiskResources(); system.Renderer().Rasterizer().LoadDiskResources();
while (emu_window->IsOpen()) { while (emu_window->IsOpen()) {