Browse Source

correct error message

David Rose 17 years ago
parent
commit
08e17a3ee0
1 changed files with 1 additions and 2 deletions
  1. 1 2
      panda/src/tinydisplay/tinyGraphicsStateGuardian.cxx

+ 1 - 2
panda/src/tinydisplay/tinyGraphicsStateGuardian.cxx

@@ -1819,8 +1819,7 @@ apply_texture(TextureContext *tc) {
     bool okflag = upload_texture(gtc);
     bool okflag = upload_texture(gtc);
     if (!okflag) {
     if (!okflag) {
       tinydisplay_cat.error()
       tinydisplay_cat.error()
-        << "Could not load " << *gtc->get_texture()
-        << ": inappropriate size.\n";
+        << "Could not load " << *gtc->get_texture() << "\n";
     }
     }
     gtc->mark_loaded();
     gtc->mark_loaded();
     if (!okflag) {
     if (!okflag) {