Revision 69ed1eb4
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/DistortedEffects.java | ||
---|---|---|
146 | 146 |
} |
147 | 147 |
else |
148 | 148 |
{ |
149 |
if( mV.mNumEffects==0 && mF.mNumEffects==0 && mesh.canUsePostprocessingShortcut() )
|
|
149 |
if( mV.mNumEffects==0 && mF.mNumEffects==0 && (mesh instanceof MeshFlat) && mM.canUseShortcut() )
|
|
150 | 150 |
{ |
151 | 151 |
mM.constructMatrices(df,halfInputW,halfInputH); |
152 | 152 |
mP.render(2*halfInputW, 2*halfInputH, mM.getMVP(), df); |
Also available in: Unified diff
Progress with getting Mesh'es bounding rectangle.