From dbe2e6caea3a9558d35b1de9da5adb5453115d42 Mon Sep 17 00:00:00 2001 From: cxgeorge <> Date: Tue, 12 Jun 2001 23:48:10 +0000 Subject: [PATCH] *** empty log message *** --- panda/src/dxgsg/dxGraphicsStateGuardian.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/panda/src/dxgsg/dxGraphicsStateGuardian.cxx b/panda/src/dxgsg/dxGraphicsStateGuardian.cxx index 83b41e52ce..5a63c18c60 100644 --- a/panda/src/dxgsg/dxGraphicsStateGuardian.cxx +++ b/panda/src/dxgsg/dxGraphicsStateGuardian.cxx @@ -3137,7 +3137,9 @@ apply_texture(TextureContext *tc) { if (tc==NULL) { return; // use enable_texturing to disable/enable } - add_to_texture_record(tc); + #ifdef DO_PSTATS + add_to_texture_record(tc); + #endif // activate(); inactive // bind_texture(tc);