Skip to content

Commit

Permalink
Merge branch 'blender-v3.1-release'
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroenbakker-atmind committed Feb 16, 2022
2 parents 86762e8 + 5497212 commit 3f0e63f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/blender/blenkernel/intern/image_gpu.cc
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,8 @@ static GPUTexture *image_get_gpu_texture(Image *ima,
if (ibuf_intern == nullptr) {
ibuf_intern = BKE_image_acquire_ibuf(ima, iuser, nullptr);
if (ibuf_intern == nullptr) {
return image_gpu_texture_error_create(textarget);
*tex = image_gpu_texture_error_create(textarget);
return *tex;
}
}

Expand Down

0 comments on commit 3f0e63f

Please sign in to comment.