]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Fix texture load failure not printing
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 2 Jul 2020 19:29:22 +0000 (19:29 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 2 Jul 2020 19:29:22 +0000 (19:29 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12778 d7cf8633-e32d-0410-b094-e92efae38249

model_shared.c

index 86ab5c52789a32474f0b61e52b68d6439691080d..3121250f1cafb1dab8347f65bb4dcdfc20e896b1 100644 (file)
@@ -2599,7 +2599,7 @@ nothing                GL_ZERO GL_ONE
                        }
                        else
                                success = false;
-                       if (!success && warnmissing)
+                       if (!success)
                                Con_Printf("^1%s:^7 could not load texture ^3\"%s\"\n", modelname, texture->name);
                }
        }