mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-27 09:10:08 +00: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:
parent
c4d549919f
commit
5f877d9458
@ -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()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user