diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-09-23 21:10:08 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-09-23 21:10:08 +0200 |
commit | a5524a7e3e8248a5a4baa8af62a1a758f1d07e7f (patch) | |
tree | 3dbb25931e1b9e3b2ba7f73d73eaf4933972ae3e /tests | |
parent | 14e28f6107d9e9bae81eeee8d0a22abdc256a295 (diff) |
Make window rgba and set background transparent to allow window clear to work with transparency
Diffstat (limited to 'tests')
-rw-r--r-- | tests/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/main.c b/tests/main.c index 7d94461..f1fad72 100644 --- a/tests/main.c +++ b/tests/main.c @@ -308,7 +308,7 @@ int main(int argc, char **argv) { } } - mgl_window_clear(&window, (mgl_color){0, 0, 0, 0}); + mgl_window_clear(&window, (mgl_color){0, 0, 0, 255}); draw(&window, &userdata); mgl_window_display(&window); } |