diff options
-rw-r--r-- | source/blender/gpu/intern/gpu_texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_texture.c b/source/blender/gpu/intern/gpu_texture.c index 8aafe349be8..3ce42ce1d31 100644 --- a/source/blender/gpu/intern/gpu_texture.c +++ b/source/blender/gpu/intern/gpu_texture.c @@ -661,7 +661,7 @@ GPUTexture *GPU_texture_create_nD( GLenum proxy = GL_PROXY_TEXTURE_2D; if (n == 2) { - if (d > 0) + if (d > 1) proxy = GL_PROXY_TEXTURE_2D_ARRAY; } else if (n == 1) { |