Compare commits
2 Commits
afc597fd05
...
43f7dc2143
Author | SHA1 | Date |
---|---|---|
Rekai Nyangadzayi Musuka | 43f7dc2143 | |
Rekai Nyangadzayi Musuka | db7431f2fa |
|
@ -73,7 +73,7 @@ pub const Gui = struct {
|
|||
const ctx = SDL.SDL_GL_CreateContext(window) orelse panic();
|
||||
if (SDL.SDL_GL_MakeCurrent(window, ctx) < 0) panic();
|
||||
|
||||
gl.load(ctx, Self.glGetProcAddress) catch {};
|
||||
try gl.load(ctx, Self.glGetProcAddress);
|
||||
if (SDL.SDL_GL_SetSwapInterval(@boolToInt(config.config().host.vsync)) < 0) panic();
|
||||
|
||||
zgui.init(allocator);
|
||||
|
|
Loading…
Reference in New Issue