Initial commit: empty raylib window
Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
Executable
BIN
Binary file not shown.
@@ -0,0 +1,21 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import "core:fmt"
|
||||||
|
import "core:os"
|
||||||
|
import raylib "vendor:raylib"
|
||||||
|
|
||||||
|
main :: proc() {
|
||||||
|
width: i32 = 800
|
||||||
|
height: i32 = 450
|
||||||
|
|
||||||
|
raylib.InitWindow(width, height, "HanjaKanaMun")
|
||||||
|
defer raylib.CloseWindow()
|
||||||
|
|
||||||
|
raylib.SetTargetFPS(60)
|
||||||
|
|
||||||
|
for !raylib.WindowShouldClose() {
|
||||||
|
raylib.BeginDrawing()
|
||||||
|
raylib.ClearBackground(raylib.WHITE)
|
||||||
|
raylib.EndDrawing()
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user