diff --git a/panda/src/dxgsg9/dxGraphicsStateGuardian9.cxx b/panda/src/dxgsg9/dxGraphicsStateGuardian9.cxx index 06a5ab95a9..b8b42c0434 100755 --- a/panda/src/dxgsg9/dxGraphicsStateGuardian9.cxx +++ b/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 {