Revision f5c28afc
Added by Leszek Koltunski almost 6 years ago
src/main/java/org/distorted/examples/save/SaveRenderer.java | ||
---|---|---|
250 | 250 |
if( mTexture==null ) mTexture = new DistortedTexture(bmpWidth,bmpHeight); |
251 | 251 |
mTexture.setTexture(bitmap); |
252 | 252 |
|
253 |
if( mOffscreen==null ) mOffscreen = new DistortedFramebuffer( (int)(mScale*bmpWidth) , (int)(mScale*bmpHeight) ); |
|
253 |
if( mOffscreen==null ) mOffscreen = new DistortedFramebuffer( (int)(mScale*bmpWidth) , (int)(mScale*bmpHeight), |
|
254 |
0, DistortedFramebuffer.NO_DEPTH_NO_STENCIL); |
|
254 | 255 |
|
255 | 256 |
mOffscreen.detachAll(); |
256 | 257 |
mOffscreen.attach(mTexture,mEffects,mMesh); |
Also available in: Unified diff
OIT: fixes. Everything looks correct now except for the curious return of the 'dancing lower-left corner' small glitch in the 'Transparency' app.