mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-24 08:25:45 +01:00
Merge pull request #2477 from ReinUsesLisp/fix-sdl2
yuzu_cmd: Make OpenGL's context current
This commit is contained in:
commit
6f1720a5b7
@ -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