diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-08-05 15:17:14 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-08-05 15:17:34 +0300 |
commit | c961bf8975ef75ec3928b76c95584ca1c1151c36 (patch) | |
tree | a2a0cfa058ea04b227e59a3b8cca2cca5ed12c25 /source/blender | |
parent | 229fe01a152124308ad8552e6b792b9ebdaeec5a (diff) |
GPUTexture: Fix missing break
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/gpu/intern/gpu_texture.c | 1 |
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); |