the.bay.news

Panic when printing after Raylib's InitWindow()

Ziggit
Panic when printing after Raylib's InitWindow()
Hello fellow Zig fans! First of all, thanks for this amazing language! It’s easy to use and it compiles fast (unlike some other languages). So, I’ve been experimenting with Zig and Raylib for some time and came across what I can only assume to be a bug. Here’s a minimal reproducer. const rl = @cImport(@cInclude("raylib.h")); const print = @import("std").debug.print; pub fn main() void { print("Before InitWindow()\n", .{}); rl.InitWindow(300, 200, "Test"); print("After InitWindow()\n",...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.