Cleanup: Clang tidy else after return
This commit is contained in:
parent
7d23dd4430
commit
da6c968a95
|
@ -66,9 +66,8 @@ bool BKE_image_has_gpu_texture_premultiplied_alpha(Image *image, ImBuf *ibuf)
|
|||
if (ibuf->rect_float) {
|
||||
return image ? (image->alpha_mode != IMA_ALPHA_STRAIGHT) : false;
|
||||
}
|
||||
else {
|
||||
return image ? (image->alpha_mode == IMA_ALPHA_PREMUL) : true;
|
||||
}
|
||||
|
||||
return image ? (image->alpha_mode == IMA_ALPHA_PREMUL) : true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue