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:
authorDaniel Genrich <daniel.genrich@gmx.net>2009-08-25 22:41:36 +0400
committerDaniel Genrich <daniel.genrich@gmx.net>2009-08-25 22:41:36 +0400
commit1d1e8595f23579e940ca403023305f2499c39a54 (patch)
tree5de682ad2c8c45b67626287b0f07fdf721f207aa /source/blender/gpu
parent0ff90bb2586e9e50e962106b6bcafa97484c31ca (diff)
Pointcache:
*introducing unique ID's following brechts hint from ML Enhancements resulting from this: * multiple caches per modifier stack position
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_extensions.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c
index 36936a9fcb0..850b46dc28c 100644
--- a/source/blender/gpu/intern/gpu_extensions.c
+++ b/source/blender/gpu/intern/gpu_extensions.c
@@ -337,8 +337,7 @@ GPUTexture *GPU_texture_create_3D(int w, int h, int depth, float *fpixels)
return NULL;
}
- if (!GLEW_ARB_texture_non_power_of_two)
- {
+ if (!GLEW_ARB_texture_non_power_of_two) {
tex->w = larger_pow2(tex->w);
tex->h = larger_pow2(tex->h);
tex->depth = larger_pow2(tex->depth);