Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <jeroen@blender.org>2022-05-09 11:38:53 +0300
committerJeroen Bakker <jeroen@blender.org>2022-05-09 11:38:53 +0300
commitb651754890c550e3f174f28399e48012e36ec358 (patch)
treea16d79a0cbd3d3ddca77606f36cc673bb2345b6f /source/blender/imbuf
parent6b95e75d2fc14ace9e9ec33b045a2ab18a51c78c (diff)
parentcc3c15fbddc78bb5377571125cccf57ba7ec3b9a (diff)
Merge branch 'blender-v3.2-release'
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r--source/blender/imbuf/intern/util_gpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/util_gpu.c b/source/blender/imbuf/intern/util_gpu.c
index 5abbc84b0ea..8da9eb9ccf7 100644
--- a/source/blender/imbuf/intern/util_gpu.c
+++ b/source/blender/imbuf/intern/util_gpu.c
@@ -154,7 +154,7 @@ GPUTexture *IMB_touch_gpu_texture(
GPUTexture *tex;
if (layers > 0) {
- tex = GPU_texture_create_2d_array(name, w, h, layers, 1, tex_format, NULL);
+ tex = GPU_texture_create_2d_array(name, w, h, layers, 9999, tex_format, NULL);
}
else {
tex = GPU_texture_create_2d(name, w, h, 9999, tex_format, NULL);