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:
authorClément Foucault <foucault.clem@gmail.com>2020-08-05 15:17:14 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-08-05 15:17:34 +0300
commitc961bf8975ef75ec3928b76c95584ca1c1151c36 (patch)
treea2a0cfa058ea04b227e59a3b8cca2cca5ed12c25
parent229fe01a152124308ad8552e6b792b9ebdaeec5a (diff)
GPUTexture: Fix missing break
-rw-r--r--source/blender/gpu/intern/gpu_texture.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_texture.c b/source/blender/gpu/intern/gpu_texture.c
index 112fcb8f801..1e81f6e86a4 100644
--- a/source/blender/gpu/intern/gpu_texture.c
+++ b/source/blender/gpu/intern/gpu_texture.c
@@ -740,6 +740,7 @@ static bool gpu_texture_check_capacity(
case GL_PROXY_TEXTURE_3D:
glTexImage3D(
proxy, 0, internalformat, tex->w, tex->h, tex->d, 0, data_format, data_type, NULL);
+ break;
case GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB:
glTexImage3D(
proxy, 0, internalformat, tex->w, tex->h, tex->d * 6, 0, data_format, data_type, NULL);