Android fixes
This commit is contained in:
+5
-1
@@ -4,7 +4,7 @@ flags.embed = os_argv().indexOf("--embed") >= 0; // os_argv().indexOf("--debug")
|
||||
flags.physics = true;
|
||||
flags.with_d3dcompiler = true;
|
||||
flags.with_nfd = true;
|
||||
flags.with_compress = true;
|
||||
flags.with_compress = platform != "android";
|
||||
flags.with_image_write = true;
|
||||
flags.with_iron = true;
|
||||
flags.with_eval = true;
|
||||
@@ -337,5 +337,9 @@ if (flags.with_video_write) {
|
||||
project.add_cfiles("sources/libs/minih264e.c");
|
||||
}
|
||||
|
||||
if (graphics === "metal" || (graphics === "vulkan" && platform != "android")) {
|
||||
project.add_define("IRON_BGRA");
|
||||
}
|
||||
|
||||
project.flatten();
|
||||
return project;
|
||||
|
||||
Reference in New Issue
Block a user