mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-29 18:29:18 -05:00
typo
@ -77,7 +77,6 @@ Call `SetExitKey(KEY_NULL)`
|
|||||||
It can be removed with a linker parameter, it depends on the platform and compiler. `gcc` supports `-Wl,--subsystem,windows` or [`-mwindows`](https://gcc.gnu.org/onlinedocs/gcc/Cygwin-and-MinGW-Options.html#index-mwindows) compiler options. On Visual Studio, in Configuration Properties > Linker > System > SubSystem choose `Windows (/SUBSYSTEM:WINDOWS)` to avoid console. With other compilers there should be similar options.
|
It can be removed with a linker parameter, it depends on the platform and compiler. `gcc` supports `-Wl,--subsystem,windows` or [`-mwindows`](https://gcc.gnu.org/onlinedocs/gcc/Cygwin-and-MinGW-Options.html#index-mwindows) compiler options. On Visual Studio, in Configuration Properties > Linker > System > SubSystem choose `Windows (/SUBSYSTEM:WINDOWS)` to avoid console. With other compilers there should be similar options.
|
||||||
|
|
||||||
<!-- TODO: explain changing the entry point to mainCRTStartup on visual studio -->
|
<!-- TODO: explain changing the entry point to mainCRTStartup on visual studio -->
|
||||||
nu
|
|
||||||
## How do I make a timer?
|
## How do I make a timer?
|
||||||
|
|
||||||
raylib has no built in timer system. You are expected to keep track of time in your own code. You can do with with the `GetTime()` and `GetFrameTime()` functions. Below is an example of a simple timer struct and functions to use it.
|
raylib has no built in timer system. You are expected to keep track of time in your own code. You can do with with the `GetTime()` and `GetFrameTime()` functions. Below is an example of a simple timer struct and functions to use it.
|
||||||
|
|||||||
Reference in New Issue
Block a user