From 1d1e8595f23579e940ca403023305f2499c39a54 Mon Sep 17 00:00:00 2001 From: Daniel Genrich Date: Tue, 25 Aug 2009 18:41:36 +0000 Subject: Pointcache: *introducing unique ID's following brechts hint from ML Enhancements resulting from this: * multiple caches per modifier stack position --- source/blender/gpu/intern/gpu_extensions.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source/blender/gpu') 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); -- cgit v1.2.3