Moving more duplicate code from GPU_create_gl_tex_compressed() and BL_Texture::InitGL...
authorMitchell Stokes <mogurijin@gmail.com>
Sat, 18 Aug 2012 03:32:28 +0000 (03:32 +0000)
committerMitchell Stokes <mogurijin@gmail.com>
Sat, 18 Aug 2012 03:32:28 +0000 (03:32 +0000)
commita6d1b955ab90f608116fc1fae172a14bcd84c4cd
tree9f7f972ed55fdd62a2580b3c0779214b22c1d6a9
parent0fee1a3c0b125321ed5acb880958864ac043c88e
Moving more duplicate code from GPU_create_gl_tex_compressed() and BL_Texture::InitGLCompressedTex() into GPU_Upload_dxt_texture(). This reduces code duplication and ensures that both paths are using the same settings.
source/blender/gpu/intern/gpu_draw.c
source/gameengine/Ketsji/BL_Texture.cpp