add C-flags from raylib

This commit is contained in:
Fabien Freling 2022-05-03 16:42:11 +02:00
parent cc8498feba
commit d2d6e5512e
2 changed files with 7 additions and 24 deletions

View file

@ -1,23 +0,0 @@
const std = @import("std");
const r = @import("raylib.zig");
pub fn main() anyerror!void {
r.InitWindow(800, 450, "doggo");
defer r.CloseWindow();
while (!r.WindowShouldClose()) {
// Draw
r.BeginDrawing();
defer r.EndDrawing();
r.ClearBackground(r.RAYWHITE);
_ = r.GuiMessageBox(
r.Rectangle{ .x = 0, .y = 0, .width = 200, .height = 200 },
"Message Box Title",
"Message content",
null,
);
}
}