From e69c3d127dffaa7aa0f1bfee82e0dc3e10c39db8 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Tue, 8 Mar 2011 13:13:53 -0600 Subject: [PATCH] fix cel shading functions --- src/RageDisplay_D3D.cpp | 5 ++--- src/RageDisplay_D3D.h | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/RageDisplay_D3D.cpp b/src/RageDisplay_D3D.cpp index b5261343f3..52f8219456 100644 --- a/src/RageDisplay_D3D.cpp +++ b/src/RageDisplay_D3D.cpp @@ -1553,10 +1553,9 @@ void RageDisplay_D3D::SetSphereEnvironmentMapping( TextureUnit tu, bool b ) g_bSphereMapping[tu] = b; } -void RageDisplay_D3D::SetCelShaded( bool b ) +void RageDisplay_D3D::SetCelShaded( int stage ) { - /* AJ doesn't know how to deal with this and he's the only one of the - * sm-ssc team who's touched DirectX in C++ (for all of an hour). */ + // todo: implement me! } /* diff --git a/src/RageDisplay_D3D.h b/src/RageDisplay_D3D.h index f1bcbd5558..43a6e5e71f 100644 --- a/src/RageDisplay_D3D.h +++ b/src/RageDisplay_D3D.h @@ -64,7 +64,7 @@ public: const RageVector3 &dir ); void SetSphereEnvironmentMapping( TextureUnit tu, bool b ); - void SetCelShaded( bool b ); + void SetCelShaded( int stage ); RageCompiledGeometry* CreateCompiledGeometry(); void DeleteCompiledGeometry( RageCompiledGeometry* p );