fixed mistake in previous commit about herrings. deals with shadows, though does not seem to have any visual effect
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2393 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
c834005143
commit
55082d46de
@ -75,7 +75,7 @@ Shadow::Shadow ( float x1, float x2, float y1, float y2 )
|
||||
ssgVtxTable *gs = new ssgVtxTable ( GL_TRIANGLE_STRIP, va, na, ta, ca ) ;
|
||||
|
||||
gs -> clrTraversalMaskBits ( SSGTRAV_ISECT|SSGTRAV_HOT ) ;
|
||||
//gs -> setState ( fuzzy_gst ) ;
|
||||
gs -> setState ( fuzzy_gst ) ;
|
||||
sh -> addKid ( gs ) ;
|
||||
sh -> ref () ; /* Make sure it doesn't get deleted by mistake */
|
||||
} // Shadow
|
||||
|
@ -48,7 +48,7 @@ public:
|
||||
void popTempMaterial ();
|
||||
};
|
||||
|
||||
//extern ssgState *fuzzy_gst, *herringbones_gst;
|
||||
extern ssgState *fuzzy_gst;//, *herringbones_gst;
|
||||
|
||||
ssgState *getAppState ( char *fname ) ;
|
||||
extern MaterialManager *material_manager;
|
||||
|
Loading…
Reference in New Issue
Block a user