diff options
Diffstat (limited to 'src/main.zig')
-rw-r--r-- | src/main.zig | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main.zig b/src/main.zig index b964536..5c4e1c2 100644 --- a/src/main.zig +++ b/src/main.zig @@ -17,12 +17,12 @@ // along with Black Shades. If not, see <https://www.gnu.org/licenses/>. const Loca = @import("loca").Loca; +const al = @import("zeal"); const allocator = @import("std").heap.c_allocator; -const gf = @import("gfz"); -const legacy = @cImport(@cInclude("Game.h")); const configuration = @import("config.zig"); -const al = @import("zeal"); +const gf = @import("gfz"); const gl = @import("zgl"); +const legacy = @cImport(@cInclude("Game.h")); var game: *legacy.Game = undefined; @@ -75,6 +75,7 @@ pub fn main() !void { defer context.deinit() catch unreachable; try al.useContext(context); + _ = @import("misc.zig").loadTexture("Font.png"); // work around laziness legacy.initGame(game); defer legacy.closeGame(game); while (!try window.shouldClose()) { |