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:
authorSergey Sharybin <sergey@blender.org>2020-08-05 13:03:55 +0300
committerSergey Sharybin <sergey@blender.org>2020-08-05 13:25:12 +0300
commit85e11ca7fb4d082c70fdb5b2cfd3f0c9bb615c54 (patch)
tree5851a6aaf3564b5387046cad74b2b561631d5bcd /source/blender/gpu
parente4a4dc53098441ddb61864945969161e0aedb931 (diff)
Fix possible fall-through after recent change
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_texture.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_texture.cc b/source/blender/gpu/intern/gpu_texture.cc
index 98c39f39fbf..49812abe605 100644
--- a/source/blender/gpu/intern/gpu_texture.cc
+++ b/source/blender/gpu/intern/gpu_texture.cc
@@ -681,6 +681,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);