diff --git a/examples/core_basic_window.lua b/examples/core_basic_window.lua index e58cb14..cac157d 100644 --- a/examples/core_basic_window.lua +++ b/examples/core_basic_window.lua @@ -3,12 +3,12 @@ rl.SetConfigFlags(rl.FLAG_VSYNC_HINT) rl.InitWindow(800, 450, "raylib [core] example - basic window") while not rl.WindowShouldClose() do - rl.BeginDrawing() + rl.BeginDrawing() - rl.ClearBackground(rl.RAYWHITE) - rl.DrawText("Congrats! You created your first window!", 190, 200, 20, rl.LIGHTGRAY) + rl.ClearBackground(rl.RAYWHITE) + rl.DrawText("Congrats! You created your first window!", 190, 200, 20, rl.LIGHTGRAY) - rl.EndDrawing() + rl.EndDrawing() end rl.CloseWindow() diff --git a/examples/shapes_logo_raylib.lua b/examples/shapes_logo_raylib.lua index 61c344d..e64f24a 100644 --- a/examples/shapes_logo_raylib.lua +++ b/examples/shapes_logo_raylib.lua @@ -17,7 +17,7 @@ while not rl.WindowShouldClose() do rl.DrawText("this is NOT a texture!", 350, 370, 10, rl.GRAY) - rl.EndDrawing() + rl.EndDrawing() end -rl.CloseWindow() +rl.CloseWindow() \ No newline at end of file