mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 19:42:43 +00:00
Revert "Revert "Missed some things in prev commit.""
This reverts commit 2e59788aa9
.
This commit is contained in:
parent
eb3c88b3dd
commit
beab10ab9b
@ -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,7 +6,8 @@ etc_sources = [
|
||||
"etc1/rg_etc1.cpp"
|
||||
]
|
||||
|
||||
env.drivers_sources+=etc_sources
|
||||
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 New Issue
Block a user