mirror of
https://github.com/blender/blender
synced 2026-09-26 16:15:47 +03:00
Merge branch 'blender-v4.1-release'
This commit is contained in:
commit
7a13f0a14d
1 changed files with 1 additions and 0 deletions
|
|
@ -153,6 +153,7 @@ static ImBuf *wm_block_splash_image(int width, int *r_height)
|
|||
}
|
||||
|
||||
if (ibuf) {
|
||||
ibuf->planes = 32; /* The image might not have an alpha channel. */
|
||||
height = (width * ibuf->y) / ibuf->x;
|
||||
if (width != ibuf->x || height != ibuf->y) {
|
||||
IMB_scaleImBuf(ibuf, width, height);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue