Project

General

Profile

« Previous | Next » 

Revision 044b5494

Added by Leszek Koltunski about 4 years ago

Move the Effects.setStretch to Meshbase.setStretch

View differences:

src/main/java/org/distorted/library/main/DistortedNode.java
240 240

  
241 241
  private DistortedFramebuffer allocateNewFBO()
242 242
    {
243
    int width  = mFboW <= 0 ? mEffects.getStartchX() : mFboW;
244
    int height = mFboH <= 0 ? mEffects.getStartchY() : mFboH;
243
    int width  = mFboW <= 0 ? (int)mMesh.getStretchX() : mFboW;
244
    int height = mFboH <= 0 ? (int)mMesh.getStretchY() : mFboH;
245 245
    return new DistortedFramebuffer(1,mFboDepthStencil, InternalSurface.TYPE_TREE, width, height);
246 246
    }
247 247

  

Also available in: Unified diff