gamnit: disable our premultiplication on Android
authorAlexis Laferrière <alexis.laf@xymus.net>
Thu, 21 Sep 2017 01:51:54 +0000 (21:51 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Mon, 25 Sep 2017 15:11:12 +0000 (11:11 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/gamnit/display_android.nit

index 8e5566c..b14cb33 100644 (file)
@@ -78,3 +78,8 @@ redef class TextureAsset
                jni_env.pop_local_frame
        end
 end
+
+redef class Pointer
+       # Disable out premultiply as we use only the one from Android
+       redef fun premultiply_alpha(width, height) do end
+end