Browse Source

Merge pull request #26 from PrimaIVoid/patch-3

Add SetTargetFPS
Steven Schveighoffer 2 years ago
parent
commit
99e9b46648
1 changed files with 1 additions and 0 deletions
  1. 1 0
      README.md

+ 1 - 0
README.md

@@ -127,6 +127,7 @@ void main()
     // call this before using raylib
     validateRaylibBinding();
     InitWindow(800, 600, "Hello, Raylib-D!");
+    SetTargetFPS(60);
     while (!WindowShouldClose())
     {
         BeginDrawing();