Smoke:
[blender.git] / source / blender / editors / space_view3d / drawvolume.c
index 237ffe71ddb2d8a25805aadb49bf4c02767d8af4..5e0ffb9ba48b05934336dedf3bae37bb4aebc751 100644 (file)
@@ -236,7 +236,7 @@ void draw_volume(Scene *scene, ARegion *ar, View3D *v3d, Base *base, GPUTexture
 
        GPU_texture_bind(tex, 0);
 
-       // if (!GLEW_ARB_texture_non_power_of_two) 
+       if (!GLEW_ARB_texture_non_power_of_two) 
        {
                cor[0] = (float)res[0]/(float)larger_pow2(res[0]);
                cor[1] = (float)res[1]/(float)larger_pow2(res[1]);