Update SDL.zig, adapt Renderer.zig
This commit is contained in:
parent
7921471b96
commit
9a1ab8de6f
|
@ -1 +1 @@
|
||||||
Subproject commit ab6ef00008f28f70a2dac89a949ad6685d8405ad
|
Subproject commit 3843cb113f05bdd610449d082341f3e6a9769878
|
|
@ -27,7 +27,7 @@ pub fn init() !Self {
|
||||||
.{ .centered = {} },
|
.{ .centered = {} },
|
||||||
1280,
|
1280,
|
||||||
720,
|
720,
|
||||||
.{ .opengl = true, .shown = true }
|
.{ .context = .opengl, .vis = .shown }
|
||||||
);
|
);
|
||||||
|
|
||||||
const ctx = try sdl.gl.createContext(window);
|
const ctx = try sdl.gl.createContext(window);
|
||||||
|
|
Loading…
Reference in New Issue