git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5191
d7cf8633-e32d-0410-b094-
e92efae38249
for (image = pool->imagechain;image;image = image->imagechain)
{
// only update already uploaded images
for (image = pool->imagechain;image;image = image->imagechain)
{
// only update already uploaded images
- if (!(image->flags & GLTEXF_UPLOAD))
+ if (!(image->flags & GLTEXF_UPLOAD) && (image->flags & TEXF_MIPMAP))
{
qglGetIntegerv(gltexturetypebindingenums[image->texturetype], &oldbindtexnum);
{
qglGetIntegerv(gltexturetypebindingenums[image->texturetype], &oldbindtexnum);
- if (gl_support_anisotropy)
+ if (gl_support_anisotropy && (flags & TEXF_MIPMAP))
{
int aniso = bound(1, gl_texture_anisotropy.integer, gl_max_anisotropy);
if (gl_texture_anisotropy.integer != aniso)
{
int aniso = bound(1, gl_texture_anisotropy.integer, gl_max_anisotropy);
if (gl_texture_anisotropy.integer != aniso)