Revision 7451c98a
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/save/SaveRenderer.java | ||
---|---|---|
234 | 234 |
bmpWidth = bitmap.getWidth(); |
235 | 235 |
|
236 | 236 |
mGrid = new GridFlat(30,30*bmpHeight/bmpWidth); |
237 |
mGirl = new DistortedTexture(bmpWidth,bmpHeight,0);
|
|
237 |
mGirl = new DistortedTexture(bmpWidth,bmpHeight); |
|
238 | 238 |
mGirl.setTexture(bitmap); |
239 | 239 |
|
240 | 240 |
mOffscreen = new DistortedFramebuffer(bmpWidth,bmpHeight); |
Also available in: Unified diff
Hide the 'depth' of a DistortedTexture inside the library, so users do not get exposed to this weirdness.