mirror of
https://github.com/godotengine/godot.git
synced 2025-01-23 02:52:28 -05:00
Missed some things in prev commit.
This commit is contained in:
parent
41b729ccff
commit
d3280f91a1
3 changed files with 7 additions and 1 deletions
|
@ -308,6 +308,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')
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ etc_sources = [
|
|||
"etc1/rg_etc1.cpp"
|
||||
]
|
||||
|
||||
if (env["etc1"] != "no"):
|
||||
env.drivers_sources+=etc_sources
|
||||
|
||||
#env.add_source_files(env.drivers_sources, etc_sources)
|
||||
|
|
|
@ -222,7 +222,10 @@ void register_driver_types() {
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef ETC1_ENABLED
|
||||
_register_etc1_compress_func();
|
||||
#endif
|
||||
|
||||
initialize_chibi();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue