Commit: c961bf8975ef75ec3928b76c95584ca1c1151c36
Author: Clément Foucault
Date:   Wed Aug 5 14:17:14 2020 +0200
Branches: blender-v2.90-release
https://developer.blender.org/rBc961bf8975ef75ec3928b76c95584ca1c1151c36

GPUTexture: Fix missing break

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

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

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

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

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

Reply via email to