- 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:
1 parent
4dededd345
commit
2cafa52598
30 files changed
+136
-103
No files matched your search
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user