summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2020-03-12 17:47:35 +0100
committerRay <[email protected]>2020-03-12 17:47:35 +0100
commitd57b5ac89a5e574930773f75397f9acdd578e70e (patch)
tree197c3ccc0e05194641461d93bf334a5571d9e397 /src
parent82937e1564367cd640d9e0c68749f4266776fb8a (diff)
downloadraylib-d57b5ac89a5e574930773f75397f9acdd578e70e.tar.gz
raylib-d57b5ac89a5e574930773f75397f9acdd578e70e.zip
Added note on transparent framebuffer w/o X11 on RPI
Diffstat (limited to 'src')
-rw-r--r--src/core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core.c b/src/core.c
index d3e45501..ef6ff44a 100644
--- a/src/core.c
+++ b/src/core.c
@@ -3230,6 +3230,7 @@ static bool InitGraphicsDevice(int width, int height)
VC_DISPMANX_ALPHA_T alpha;
alpha.flags = DISPMANX_FLAGS_ALPHA_FIXED_ALL_PIXELS;
+ //alpha.flags = DISPMANX_FLAGS_ALPHA_FROM_SOURCE; // TODO: Allow transparent framebuffer! -> FLAG_WINDOW_TRANSPARENT
alpha.opacity = 255; // Set transparency level for framebuffer, requires EGLAttrib: EGL_TRANSPARENT_TYPE
alpha.mask = 0;