From 56250d2c8d2bb812f80f42ddc7af6c835bcff64c Mon Sep 17 00:00:00 2001 From: aignacio_sf <> Date: Thu, 5 Jan 2006 18:27:58 +0000 Subject: [PATCH] Use pre-defined constant --- panda/src/dxgsg9/dxGraphicsStateGuardian9.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panda/src/dxgsg9/dxGraphicsStateGuardian9.h b/panda/src/dxgsg9/dxGraphicsStateGuardian9.h index ff17fde1ee..e65ffee0cb 100755 --- a/panda/src/dxgsg9/dxGraphicsStateGuardian9.h +++ b/panda/src/dxgsg9/dxGraphicsStateGuardian9.h @@ -185,7 +185,7 @@ protected: static D3DTEXTUREFILTERTYPE get_d3d_mip_type(Texture::FilterType filter_type); static D3DTEXTUREOP get_texture_operation(TextureStage::CombineMode mode, int scale); DWORD get_texture_argument(TextureStage::CombineSource source, - TextureStage::CombineOperand operand) const; + TextureStage::CombineOperand operand) const; static DWORD get_texture_argument_modifier(TextureStage::CombineOperand operand); void draw_primitive_up(D3DPRIMITIVETYPE primitive_type, @@ -292,7 +292,7 @@ protected: TextureStageStates; TextureRenderStates _texture_render_states_array [MAXIMUM_TEXTURES]; - TextureStageStates _texture_stage_states_array [MAXIMUM_TEXTURE_STAGES]; + TextureStageStates _texture_stage_states_array [D3D_MAXTEXTURESTAGES]; public: virtual TypeHandle get_type() const {