|
|
|
@ -1188,7 +1188,7 @@ static qboolean GL_UploadTexture( gl_texture_t *tex, rgbdata_t *pic )
@@ -1188,7 +1188,7 @@ static qboolean GL_UploadTexture( gl_texture_t *tex, rgbdata_t *pic )
|
|
|
|
|
int mipCount = GL_CalcMipmapCount( tex, ( buf != NULL )); |
|
|
|
|
|
|
|
|
|
// NOTE: only single uncompressed textures can be resamples, no mips, no layers, no sides
|
|
|
|
|
if((( tex->depth == 1 ) && ( pic->width != tex->width )) || ( pic->height != tex->height )) |
|
|
|
|
if(( tex->depth == 1 ) && (( pic->width != tex->width ) || ( pic->height != tex->height ))) |
|
|
|
|
data = GL_ResampleTexture( buf, pic->width, pic->height, tex->width, tex->height, normalMap ); |
|
|
|
|
else data = buf; |
|
|
|
|
|
|
|
|
|