summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-04-07 20:22:58 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-04-07 20:22:58 -0300
commitb135cdbf05312211a81ad3405f154082d1c059e3 (patch)
tree39fb2b99b64e2dfc7d9403c61bb33eff418bf4ee /SConstruct
parente336306e9176bb3e9e459a63344ef54c1e57c9cd (diff)
parent4fa71a6ee0ea72289d9e647eb0aeea59cf8a7192 (diff)
Merge pull request #1531 from vkbsb/h5_canvas_polygon_fix
H5 canvas polygon fix
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 3 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 922dc64fe3..537bb0e395 100644
--- a/SConstruct
+++ b/SConstruct
@@ -111,6 +111,7 @@ opts.Add('jpg','JPG Image loader support (yes/no)','yes')
opts.Add('webp','WEBP Image loader support (yes/no)','yes')
opts.Add('dds','DDS Texture loader support (yes/no)','yes')
opts.Add('pvr','PVR (PowerVR) Texture loader support (yes/no)','yes')
+opts.Add('etc1','etc1 Texture compression support (yes/no)','yes')
opts.Add('builtin_zlib','Use built-in zlib (yes/no)','yes')
opts.Add('openssl','Use OpenSSL (yes/no/builtin)','no')
opts.Add('musepack','Musepack Audio (yes/no)','yes')
@@ -311,6 +312,8 @@ if selected_platform in platform_list:
if (env['colored']=='yes'):
methods.colored(sys,env)
+ if (env['etc1']=='yes'):
+ env.Append(CPPFLAGS=['-DETC1_ENABLED'])
Export('env')