From 9a1ab8de6f59163ad093e0e25619826dd32aaaa3 Mon Sep 17 00:00:00 2001 From: Dendy Date: Mon, 25 Jul 2022 16:34:39 +0200 Subject: [PATCH] Update SDL.zig, adapt Renderer.zig --- lib/SDL.zig | 2 +- src/Renderer.zig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/SDL.zig b/lib/SDL.zig index ab6ef00..3843cb1 160000 --- a/lib/SDL.zig +++ b/lib/SDL.zig @@ -1 +1 @@ -Subproject commit ab6ef00008f28f70a2dac89a949ad6685d8405ad +Subproject commit 3843cb113f05bdd610449d082341f3e6a9769878 diff --git a/src/Renderer.zig b/src/Renderer.zig index e499433..d7ba898 100644 --- a/src/Renderer.zig +++ b/src/Renderer.zig @@ -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);