Skip to content

Commit

Permalink
Fix window opacity setting
Browse files Browse the repository at this point in the history
  • Loading branch information
capehill committed Jan 8, 2022
1 parent c353b59 commit e77ef21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/video/amigaos4/SDL_os4window.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e77ef21

Please sign in to comment.