From e77ef2112067aa272a3a2359e3f08e3083cf038f Mon Sep 17 00:00:00 2001 From: capehill Date: Sat, 8 Jan 2022 15:46:46 +0200 Subject: [PATCH] Fix window opacity setting --- src/video/amigaos4/SDL_os4window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video/amigaos4/SDL_os4window.c b/src/video/amigaos4/SDL_os4window.c index 5c7fa261121ab..ed6e91ceb0a8b 100644 --- a/src/video/amigaos4/SDL_os4window.c +++ b/src/video/amigaos4/SDL_os4window.c @@ -940,9 +940,9 @@ OS4_SetWindowOpacity(_THIS, SDL_Window * window, float opacity) const UBYTE value = opacity * 255; - dprintf("Setting window '%s' opaqueness to %u\n", window->title, opacity); + dprintf("Setting window '%s' opaqueness to %u\n", window->title, value); - return OS4_SetWindowOpacityPrivate(_this, syswin, opacity) ? 0 : -1; + return OS4_SetWindowOpacityPrivate(_this, syswin, value) ? 0 : -1; } int