Commit 539a73f6 authored by Gaëtan Renaudeau's avatar Gaëtan Renaudeau Committed by GitHub

Merge pull request #115 from gullitmiranda/master

Fixing snapshot size in android
parents 62c4f1ea 96baa241
......@@ -868,7 +868,7 @@ public class GLCanvas extends GLSurfaceView
}
private Bitmap createSnapshot () {
return createSnapshot(0, 0, getWidth(), getHeight());
return createSnapshot(0, 0, renderData.width, renderData.height);
}
private Bitmap createSnapshot (int x, int y, int w, int h) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment