Fix T77586 EEVEE: UDIM image Texture doesn't Display properly
This commit is contained in:
parent
9f5cc128d9
commit
7e43bbb790
Notes:
blender-bot
2023-07-10 10:12:37 +02:00
Referenced by issue #77586, UDIM image Texture doesn't Display properly
|
@ -912,6 +912,11 @@ GPUTexture *GPU_texture_from_blender(Image *ima, ImageUser *iuser, ImBuf *ibuf,
|
|||
|
||||
GPU_texture_orig_size_set(*tex, ibuf_intern->x, ibuf_intern->y);
|
||||
|
||||
if (textarget == GL_TEXTURE_1D_ARRAY) {
|
||||
/* Special for tile mapping. */
|
||||
GPU_texture_mipmap_mode(*tex, false, false);
|
||||
}
|
||||
|
||||
return *tex;
|
||||
#endif
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in New Issue