try to avoid ClearZBuffer()

This commit is contained in:
Glenn Maynard
2004-09-20 02:43:04 +00:00
parent 3dc77f6493
commit 1fd8e8dd1e
+2 -1
View File
@@ -290,11 +290,12 @@ void Model::DrawCelShaded()
this->SetDiffuseAlpha(0);
DISPLAY->SetPolygonMode( POLYGON_LINE );
DISPLAY->SetLineWidth( 4 );
this->SetZWrite( false );
this->Draw();
this->SetDiffuseAlpha(1);
DISPLAY->ClearZBuffer();
this->SetGlow(RageColor(1,1,1,0));
DISPLAY->SetPolygonMode( POLYGON_FILL );
this->SetZWrite( true );
this->Draw();
}