Merge branch 'blender-v4.1-release'
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user