Commit 0d829c4f authored by Gaëtan Renaudeau's avatar Gaëtan Renaudeau

[Android] fixes imagesToPreload to be null in some cases

parent ed8beef7
...@@ -59,7 +59,7 @@ public class GLCanvas extends GLSurfaceView ...@@ -59,7 +59,7 @@ public class GLCanvas extends GLSurfaceView
private int nbContentTextures; private int nbContentTextures;
private boolean autoRedraw; private boolean autoRedraw;
private GLData data; private GLData data;
private List<Uri> imagesToPreload; private List<Uri> imagesToPreload = new ArrayList<>();
private List<Uri> preloaded = new ArrayList<>(); private List<Uri> preloaded = new ArrayList<>();
private Map<Uri, GLImage> images = new HashMap<>(); private Map<Uri, GLImage> images = new HashMap<>();
......
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