mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-28 16:58:44 +00:00
Removed unnecessary assert in WIN_SetWindowOpacity()
Fixes https://github.com/libsdl-org/SDL/issues/15896
This commit is contained in:
parent
111bb79bf8
commit
f0e99e7c7f
1 changed files with 0 additions and 2 deletions
|
|
@ -1648,8 +1648,6 @@ bool WIN_SetWindowOpacity(SDL_VideoDevice *_this, SDL_Window *window, float opac
|
|||
HWND hwnd = data->hwnd;
|
||||
const LONG style = GetWindowLong(hwnd, GWL_EXSTYLE);
|
||||
|
||||
SDL_assert(style != 0);
|
||||
|
||||
if (opacity == 1.0f) {
|
||||
// want it fully opaque, just mark it unlayered if necessary.
|
||||
if (style & WS_EX_LAYERED) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue