mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-20 15:51:07 +01:00
- 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:
@@ -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