mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-14 11:52:52 +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 a new issue