Selaa lähdekoodia

better debug messages when window/fullscreen fails

Asad M. Zaman 21 vuotta sitten
vanhempi
sitoutus
3c5c89641d
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      panda/src/dxgsg8/wdxGraphicsPipe8.cxx

+ 2 - 2
panda/src/dxgsg8/wdxGraphicsPipe8.cxx

@@ -570,8 +570,8 @@ search_for_valid_displaymode(DXScreenData &scrn,
       if (bVerboseMode) {
       if (bVerboseMode) {
         wdxdisplay8_cat.info()
         wdxdisplay8_cat.info()
           << "Mode dimension " << dispmode.Width << "x" << dispmode.Height
           << "Mode dimension " << dispmode.Width << "x" << dispmode.Height
-          << " and format " << dispmode.Format
-          << ": continuing onto next mode\n";
+          << "; format " << D3DFormatStr(dispmode.Format)
+          << ": onto next mode\n";
       }
       }
       continue;
       continue;
     }
     }