Update README.md
This commit is contained in:
parent
8e21086fe1
commit
0a5691486b
1 changed files with 0 additions and 2 deletions
|
@ -73,14 +73,12 @@ import "github.com/gen2brain/raylib-go/raylib"
|
|||
|
||||
func main() {
|
||||
rl.InitWindow(800, 450, "raylib [core] example - basic window")
|
||||
|
||||
rl.SetTargetFPS(60)
|
||||
|
||||
for !rl.WindowShouldClose() {
|
||||
rl.BeginDrawing()
|
||||
|
||||
rl.ClearBackground(rl.RayWhite)
|
||||
|
||||
rl.DrawText("Congrats! You created your first window!", 190, 200, 20, rl.LightGray)
|
||||
|
||||
rl.EndDrawing()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue