add C-flags from raylib
This commit is contained in:
		
							parent
							
								
									cc8498feba
								
							
						
					
					
						commit
						d2d6e5512e
					
				
					 2 changed files with 7 additions and 24 deletions
				
			
		| 
						 | 
				
			
			@ -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,
 | 
			
		||||
        );
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue