Revision bbf09f75
Added by Leszek Koltunski about 7 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(1,1);//(9,9*bmpHeight/bmpWidth);
|
|
140 |
if( mMesh==null ) mMesh = new MeshFlat(2,2);//(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 TransferFeedback app - introduce two modes: USEPOINTS 'true' or 'false'.
On Nexus5X, it works with 'true' and 'false'. On Nexus 4, it works with 'true', but returns GL_INVALID_OPERATION with 'false'.