fixed Linux-Xorg-Vulkan platform

This commit is contained in:
Lorenzo Torres 2025-11-10 11:06:40 +01:00
parent c88119e339
commit c0afc54ca1
2 changed files with 8 additions and 4 deletions

View file

@ -27,7 +27,9 @@ int platform_run(i32 argc, u8 * *argv)
RGFW_window *win = RGFW_createWindow("topaz", 0, 0, 800, 600, RGFW_windowCenter | RGFW_windowNoResize | RGFW_windowHide);
RGFW_window_show(win);
RGFW_window_setExitKey(win, RGFW_escape);
#ifdef PLATFORM_MACOS
macos_set_window_layer(win);
#endif
struct renderer_context *context = renderer_context_init(win);