Commit 0f64a63f authored by Gullit Miranda's avatar Gullit Miranda

Fixing snapshot size in android

parent e5fcde60
......@@ -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