Revision e8211d82
Added by Leszek Koltunski over 8 years ago
| 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(9,9*bmpHeight/bmpWidth); |
|
| 140 |
if( mMesh==null ) mMesh = new MeshFlat(1,1);//(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
Progress with Transform Feedback.