Warning to direct users to appropriate function
This commit is contained in:
parent
5b940692ea
commit
fdb92b373b
5 changed files with 10 additions and 0 deletions
|
|
@ -1905,6 +1905,8 @@ void TakeScreenshot(const char *fileName)
|
|||
// To configure window states after creation, just use SetWindowState()
|
||||
void SetConfigFlags(unsigned int flags)
|
||||
{
|
||||
if (CORE.Window.ready) TRACELOG(LOG_WARNING, "WINDOW: SetConfigFlags called after window initialization, Use \"SetWindowState\" to set flags instead");
|
||||
|
||||
// Selected flags are set but not evaluated at this point,
|
||||
// flag evaluation happens at InitWindow() or SetWindowState()
|
||||
CORE.Window.flags |= flags;
|
||||
|
|
|
|||
Loading…
Reference in a new issue