From 9349a95eb2e5de8ee5d822065b3ffd9c4c9079bd Mon Sep 17 00:00:00 2001 From: Melody Madeline Lyons Date: Fri, 5 Jul 2024 11:49:43 -0700 Subject: [PATCH] Use backported sdl3 transparency --- binding/osfm-screen-binding.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/binding/osfm-screen-binding.cpp b/binding/osfm-screen-binding.cpp index 141d71751..1e38d82c7 100644 --- a/binding/osfm-screen-binding.cpp +++ b/binding/osfm-screen-binding.cpp @@ -1,5 +1,4 @@ #include -#include "SDL_video.h" #include "etc-internal.h" #include "gl-fun.h" #include "gl-util.h" @@ -85,7 +84,7 @@ RB_METHOD(screenWindowInit) { int w = NUM2INT(vw); int h = NUM2INT(vh); - unsigned int flags = SDL_WINDOW_OPENGL | SDL_WINDOW_SKIP_TASKBAR | SDL_WINDOW_BORDERLESS; + unsigned int flags = SDL_WINDOW_OPENGL | SDL_WINDOW_SKIP_TASKBAR | SDL_WINDOW_BORDERLESS | SDL_WINDOW_TRANSPARENT; if (!NIL_P(kwargs)) { ID table[4] = { rb_intern("borderless"),