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:
authorClément Foucault <foucault.clem@gmail.com>2020-09-04 22:09:42 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-09-05 18:49:14 +0300
commitcc0410193dfc87730e8bc452e049af0759080f23 (patch)
tree364868704a9dc1a2b3b032053bbf3f65304cf7d9 /source/blender/gpu/intern
parent78dcd92edbcc28dc2f03fbc3beee7b6ad667c5cc (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')
-rw-r--r--source/blender/gpu/intern/gpu_texture.cc7
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;