mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-03-01 15:21:18 +00:00
r_fillWindowAlphaChan is a hack to work around an older issue with Wayland/Mesa, which has been fixed in Mesa 24.1 (and also seems to work with current NVIDIA drivers). Additionally, in SDL3 the EGL-specific (and thus mostly only affecting Wayland) SDL_HINT_VIDEO_EGL_ALLOW_TRANSPARENCY has been replaced with the generic SDL_PROP_WINDOW_CREATE_TRANSPARENT_BOOLEAN (that could also affect other platforms), so it's harder to enable this only for Wayland. I think most people using SDL3 will use a recent Mesa/driver versions, so I don't enable it by default for SDL3 (SDL2 behaves like before). However, with `r_fillWindowAlphaChan 1` the hack can be enabled anyway (r_fillWindowAlphaChan defaults to "-1" which means "let dhewm3 decide whether to enable this") |
||
---|---|---|
.. | ||
aros | ||
cmake | ||
linux | ||
osx | ||
posix | ||
stub | ||
win32 | ||
cpu.cpp | ||
doom_icon.h | ||
events.cpp | ||
glimp.cpp | ||
imgui_savestyle.cpp | ||
platform.h | ||
proggyvector_font.h | ||
sys_imgui.cpp | ||
sys_imgui.h | ||
sys_local.cpp | ||
sys_local.h | ||
sys_public.h | ||
sys_sdl.h | ||
threads.cpp |