Project

General

Profile

« Previous | Next » 

Revision 5055b5d4

Added by Leszek Koltunski over 7 years ago

1. (hopefully) finish the 'Save' app (now we can adjust the size of the resulting file)
2. Fix one long-standing bug in almost every single app.

View differences:

src/main/java/org/distorted/examples/fbo/FBORenderer.java
72 72
      { 
73 73
      mLisa.abortEffects(EffectTypes.MATRIX);
74 74
         
75
      if( lisaHeight/lisaWidth > height/width )
75
      if( (float)lisaHeight/lisaWidth > (float)height/width )
76 76
        {
77 77
        int w = (height*lisaWidth)/lisaHeight;
78 78
        float factor = (float)height/lisaHeight;

Also available in: Unified diff