diff --git a/android/rngl.iml b/android/rngl.iml deleted file mode 100644 index 8632d38a71c88e1ec969912c96c03e7eaac9b41c..0000000000000000000000000000000000000000 --- a/android/rngl.iml +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/android/src/main/java/com/projectseptember/RNGL/GLData.java b/android/src/main/java/com/projectseptember/RNGL/GLData.java index c0c042001efc3c1cc0ab38c803dcfda2364752e4..61ad242ed20bfa5f898eceaea72dccdc726a4887 100644 --- a/android/src/main/java/com/projectseptember/RNGL/GLData.java +++ b/android/src/main/java/com/projectseptember/RNGL/GLData.java @@ -37,8 +37,8 @@ public class GLData { public static GLData fromMap (ReadableMap map) { Integer shader = map.getInt("shader"); ReadableMap uniforms = map.getMap("uniforms"); - Integer width = map.getInt("width"); - Integer height = map.getInt("height"); + Integer width = (int) map.getDouble("width"); + Integer height = (int) map.getDouble("height"); Integer fboId = map.getInt("fboId"); List children = fromArray(map.getArray("children")); List contextChildren = fromArray(map.getArray("contextChildren"));