diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-09-04 22:09:42 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-09-05 18:49:14 +0300 |
commit | cc0410193dfc87730e8bc452e049af0759080f23 (patch) | |
tree | 364868704a9dc1a2b3b032053bbf3f65304cf7d9 /source/blender/gpu/intern/gpu_texture.cc | |
parent | 78dcd92edbcc28dc2f03fbc3beee7b6ad667c5cc (diff) |
GPUTexture: Implement back 3D texture resize
But this time implement it outside the texture module.
This makes more sense as only the volume textures need this feature.
Diffstat (limited to 'source/blender/gpu/intern/gpu_texture.cc')
-rw-r--r-- | source/blender/gpu/intern/gpu_texture.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source/blender/gpu/intern/gpu_texture.cc b/source/blender/gpu/intern/gpu_texture.cc index 29a6138eed2..f3d1d4fdb42 100644 --- a/source/blender/gpu/intern/gpu_texture.cc +++ b/source/blender/gpu/intern/gpu_texture.cc @@ -218,13 +218,6 @@ GPUTexture *GPU_texture_create_nD(int w, break; } -#if 0 /* TODO */ - if (can_rescale && n == 3) { - /* Search small enough supported texture on the system. */ - /* Rescale input. */ - } -#endif - if (!success) { delete tex; return NULL; |