From 8d72b843422d9e611fda4448413995b1d9e7d370 Mon Sep 17 00:00:00 2001 From: Peter0x44 Date: Tue, 18 Jun 2024 21:11:01 +0100 Subject: [PATCH] Add a more specific link in the GCC documentation for -mwindows --- Frequently-Asked-Questions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Frequently-Asked-Questions.md b/Frequently-Asked-Questions.md index ea0d0a6..4d05f13 100644 --- a/Frequently-Asked-Questions.md +++ b/Frequently-Asked-Questions.md @@ -74,10 +74,10 @@ Call `SetExitKey(KEY_NULL)` ## How do I remove the console window? -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/x86-Windows-Options.html) 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. - +nu ## 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.