- Added SDL_WINDOW_TRANSPARENT to request a window with transparent framebuffer

- Remove SDL_VIDEO_EGL_ALLOW_TRANSPARENCY hint, EGL now checks 'window->flags & SDL_WINDOW_TRANSPARENT'
This commit is contained in:
Sylvain authored and Sylvain Becker committed 2023-03-13 21:23:04 +01:00
1 parent 4dededd345
commit 2cafa52598
30 files changed
+136 -103

No files matched your search

+1 -1
View File
@@ -92,7 +92,7 @@ static void Render(void)
};
/* Do our drawing, too. */
ctx.glClearColor(0.0, 0.0, 0.0, 1.0);
ctx.glClearColor(0.0, 0.0, 0.0, 0.0 /* used with --transparent */);
ctx.glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
ctx.glBegin(GL_QUADS);