Browse Source

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

aignacio_sf 20 years ago
parent
commit
17f75fffc8
1 changed files with 1 additions and 1 deletions
  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;
 
            // 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 {