mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2025-02-21 11:11:12 +00:00
Fix window opacity update
This commit is contained in:
parent
c84d825241
commit
06e122103c
@ -3511,7 +3511,7 @@ bool SDL_SetWindowOpacity(SDL_Window *window, float opacity)
|
||||
}
|
||||
|
||||
result = _this->SetWindowOpacity(_this, window, opacity);
|
||||
if (result == 0) {
|
||||
if (result) {
|
||||
window->opacity = opacity;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user