From f85cb72f335897c46e5317b2ea8530871a559441 Mon Sep 17 00:00:00 2001 From: aignacio_sf <> Date: Tue, 24 Oct 2006 23:32:01 +0000 Subject: [PATCH] Put error message in a debug conditional. --- panda/src/dxgsg9/dxShaderContext9.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/panda/src/dxgsg9/dxShaderContext9.cxx b/panda/src/dxgsg9/dxShaderContext9.cxx index 26dc9517e3..1fc3b741ff 100644 --- a/panda/src/dxgsg9/dxShaderContext9.cxx +++ b/panda/src/dxgsg9/dxShaderContext9.cxx @@ -988,9 +988,11 @@ update_shader_vertex_arrays(CLP(ShaderContext) *prev, GSG *gsg) dxgsg9_cat.debug() << "|||||cgD3D9ValidateVertexDeclaration succeeded\n"; } else { - dxgsg9_cat.error() << "********************************************\n"; - dxgsg9_cat.error() << "***cgD3D9ValidateVertexDeclaration failed***\n"; - dxgsg9_cat.error() << "********************************************\n"; + DBG_SH2 + dxgsg9_cat.error() << "********************************************\n"; + dxgsg9_cat.error() << "***cgD3D9ValidateVertexDeclaration failed***\n"; + dxgsg9_cat.error() << "********************************************\n"; + DBG_E } } else {