Project

General

Profile

« Previous | Next » 

Revision 5c604561

Added by Leszek Koltunski about 7 years ago

Beginnings of support for DistortedEffects.drawPrivFeedback()

View differences:

src/main/java/org/distorted/examples/monalisa/MonaLisaRenderer.java
137 137
      if( mTexture==null ) mTexture = new DistortedTexture(bmpWidth,bmpHeight);
138 138

  
139 139
      // likewise the Mesh
140
      if( mMesh==null ) mMesh = new MeshFlat(2,2);//(9,9*bmpHeight/bmpWidth);
140
      if( mMesh==null ) mMesh = new MeshFlat(9,9*bmpHeight/bmpWidth);
141 141

  
142 142
      // even if mTexture wasn't null, we still need to call setTexture() on it
143 143
      // because every time activity goes to background, its OpenGL resources

Also available in: Unified diff