mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2024-11-10 06:31:48 +00:00
fixed r_picmip incorrectly applying to external lightmap atlases
This commit is contained in:
parent
7d526ba6fc
commit
9366ee5130
1 changed files with 1 additions and 0 deletions
|
@ -299,6 +299,7 @@ static void Upload32( image_t* image, unsigned int* data )
|
|||
// atlases loaded from images on disk
|
||||
if ( Q_stristr( image->name, "maps/" ) == image->name &&
|
||||
Q_stristr( image->name + 5, "/lm_" ) != NULL ) {
|
||||
image->flags |= IMG_NOPICMIP;
|
||||
image->flags |= IMG_NOMIPMAP;
|
||||
image->flags |= IMG_NOAF;
|
||||
image->flags |= IMG_EXTLMATLAS;
|
||||
|
|
Loading…
Reference in a new issue