Pārlūkot izejas kodu

Correct warning message: display adjusted/correct amount of memory.

aignacio_sf 20 gadi atpakaļ
vecāks
revīzija
17f75fffc8
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      panda/src/dxgsg9/dxGraphicsStateGuardian9.cxx

+ 1 - 1
panda/src/dxgsg9/dxGraphicsStateGuardian9.cxx

@@ -2473,7 +2473,7 @@ reset() {
            maximum_memory = available_texture_memory;
            maximum_memory = available_texture_memory;
 
 
            // need to warn user about low video memory
            // need to warn user about low video memory
-           dxgsg9_cat.warning() << "Available video memory " << _available_texture_memory << " is below the minimum requirement of " << minimum_memory_requirement << "\n";
+           dxgsg9_cat.warning() << "Available video memory " << maximum_memory << " is below the minimum requirement of " << minimum_memory_requirement << "\n";
         }
         }
       }
       }
       else {
       else {