Fix T79538 Grease Pencil: Fill texture doesn't tile anymore
This was caused by rBe749643793809248dfc6ffd078be04aec3eeab82 which removed the texture repeat from Image texture.
This commit is contained in:
@@ -320,6 +320,8 @@ static GPUTexture *image_get_gpu_texture(Image *ima,
|
||||
*tex = IMB_create_gpu_texture(
|
||||
ima->id.name + 2, ibuf_intern, use_high_bitdepth, store_premultiplied);
|
||||
|
||||
GPU_texture_wrap_mode(*tex, true, false);
|
||||
|
||||
if (GPU_mipmap_enabled()) {
|
||||
GPU_texture_generate_mipmap(*tex);
|
||||
if (ima) {
|
||||
|
||||
Reference in New Issue
Block a user