Update SDL.zig, adapt Renderer.zig

This commit is contained in:
Dendy 2022-07-25 16:34:39 +02:00
parent 7921471b96
commit 9a1ab8de6f
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit ab6ef00008f28f70a2dac89a949ad6685d8405ad
Subproject commit 3843cb113f05bdd610449d082341f3e6a9769878

View File

@ -27,7 +27,7 @@ pub fn init() !Self {
.{ .centered = {} },
1280,
720,
.{ .opengl = true, .shown = true }
.{ .context = .opengl, .vis = .shown }
);
const ctx = try sdl.gl.createContext(window);