Pointcache:

*introducing unique ID's following brechts hint from ML

Enhancements resulting from this:
* multiple caches per modifier stack position
This commit is contained in:
2009-08-25 18:41:36 +00:00
parent 0ff90bb258
commit 1d1e8595f2
7 changed files with 84 additions and 19 deletions

View File

@@ -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);