REVIEWED: Flags set/clear #5169

This commit is contained in:
Ray
2025-11-02 19:40:45 +01:00
parent 5fbf67a630
commit 3cf3b309c6
4 changed files with 16 additions and 8 deletions

View File

@ -423,6 +423,10 @@ void SetWindowState(unsigned int flags)
{
RGFW_window_setFloating(platform.window, RGFW_TRUE);
}
if (FLAG_IS_SET(flags, FLAG_WINDOW_ALWAYS_RUN))
{
FLAG_SET(CORE.Window.flags, FLAG_WINDOW_ALWAYS_RUN);
}
if (FLAG_IS_SET(flags, FLAG_WINDOW_TRANSPARENT))
{
TRACELOG(LOG_WARNING, "WINDOW: Framebuffer transparency can only be configured before window initialization");