Commit: 85e11ca7fb4d082c70fdb5b2cfd3f0c9bb615c54
Author: Sergey Sharybin
Date:   Wed Aug 5 12:03:55 2020 +0200
Branches: master
https://developer.blender.org/rB85e11ca7fb4d082c70fdb5b2cfd3f0c9bb615c54

Fix possible fall-through after recent change

===================================================================

M       source/blender/gpu/intern/gpu_texture.cc

===================================================================

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);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to