mirror of https://github.com/libsdl-org/SDL.git
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);
|
result = _this->SetWindowOpacity(_this, window, opacity);
|
||||||
if (result == 0) {
|
if (result) {
|
||||||
window->opacity = opacity;
|
window->opacity = opacity;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue