From a5524a7e3e8248a5a4baa8af62a1a758f1d07e7f Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 23 Sep 2022 21:10:08 +0200 Subject: Make window rgba and set background transparent to allow window clear to work with transparency --- tests/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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); } -- cgit v1.2.3