Project

General

Profile

« Previous | Next » 

Revision 8ce05bed

Added by Leszek Koltunski 8 months ago

Hopefully the last bugfix for themes.

View differences:

src/main/java/org/distorted/bandaged/BandagedRenderer.java
368 368
     if( mFramebuffer==null )
369 369
       {
370 370
       mFramebuffer = new DistortedFramebuffer(FBO_WIDTH,FBO_HEIGHT,1, InternalOutputSurface.DEPTH_NO_STENCIL);
371
       BandagedActivity bact = (BandagedActivity)act;
372
       bact.setUpBackgroundColor(mFramebuffer);
371
       mFramebuffer.glClearColor(0,0,0,0);
373 372
       }
374 373

  
375 374
     mFramebuffer.setProjection( mObject.computeProjectionAngle() ,0.1f);

Also available in: Unified diff