]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Revert "Fix texture load failure not printing"
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 7 Jul 2020 00:10:57 +0000 (00:10 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 7 Jul 2020 00:10:57 +0000 (00:10 +0000)
This reverts commit 6011b7190e2a711d1a46d0389d8c0c7ff7e5ef22.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12790 d7cf8633-e32d-0410-b094-e92efae38249

model_shared.c

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