schveiguy / raylib-d

Resurrected copy of onroundit's raylib-d
zlib License
55 stars 14 forks source link

examples should show proper use of SetTargetFPS #24

Closed schveiguy closed 1 year ago

schveiguy commented 1 year ago

As pointed out by Goel on discord, both the documentation example and the actual example project do not properly call SetTargetFPS. It should be called after InitWindow, and should be called to prevent overuse of the CPU.