Warning to direct users to appropriate function
This commit is contained in:
parent
5b940692ea
commit
fdb92b373b
1 changed files with 10 additions and 0 deletions
|
|
@ -518,6 +518,8 @@ void RestoreWindow(void)
|
|||
// Set window configuration state using flags
|
||||
void SetWindowState(unsigned int flags)
|
||||
{
|
||||
if (!CORE.Window.ready) TRACELOG(LOG_WARNING, "WINDOW: SetWindowState does nothing before window initialization, Use \"SetConfigFlags\" instead");
|
||||
|
||||
CORE.Window.flags |= flags;
|
||||
|
||||
if (flags & FLAG_VSYNC_HINT)
|
||||
|
|
|
|||
Loading…
Reference in a new issue