FLAG_WINDOW_ALWAYS_RUN does not work with FLAG_VSYNC_HINT on GLFW platform.
FLAG_WINDOW_ALWAYS_RUN only works if vsync is disabled but only on GLFW platform.
Everything works fine on SDL platforms.
On Wayland GLFW, it just completely stops all execution until it's brought back up.
On X11 GLFW, it runs at like 1 FPS. Music playing stutters every second for like a second.
With SDL it works with Wayland and X11 but with slower execution. I don't know if this is intended but music is playing fine so might be ok? As long as the music plays uninterrupted I prefer this behavior but I don't know if it's supposed to be this way.
This was tested on Gentoo 6.19.11 Gnome/Mutter 48.7
SetConfigFlags(FLAG_WINDOW_RESIZABLE | FLAG_VSYNC_HINT | FLAG_WINDOW_ALWAYS_RUN);
InitWindow(window_width, window_height, GAME_TITLE);
int counter;
void loop() {
counter++;
printf("%i", counter);
if (IsMusicStreamPlaying(battle_music)) {
UpdateMusicStream(battle_music);
};
}
FLAG_WINDOW_ALWAYS_RUNdoes not work withFLAG_VSYNC_HINTon GLFW platform.FLAG_WINDOW_ALWAYS_RUNonly works if vsync is disabled but only on GLFW platform.Everything works fine on SDL platforms.
On Wayland GLFW, it just completely stops all execution until it's brought back up.
On X11 GLFW, it runs at like 1 FPS. Music playing stutters every second for like a second.
With SDL it works with Wayland and X11 but with slower execution. I don't know if this is intended but music is playing fine so might be ok? As long as the music plays uninterrupted I prefer this behavior but I don't know if it's supposed to be this way.
This was tested on Gentoo 6.19.11 Gnome/Mutter 48.7