Revert "Missed some things in prev commit."

This reverts commit d3280f91a1.
This commit is contained in:
V.VamsiKrishna 2015-03-20 11:12:59 +05:30
parent 9965e93f7e
commit 2e59788aa9
3 changed files with 1 additions and 7 deletions

View file

@ -307,8 +307,6 @@ if selected_platform in platform_list:
if (env['colored']=='yes'): if (env['colored']=='yes'):
methods.colored(sys,env) methods.colored(sys,env)
if (env['etc1']=='yes'):
env.Append(CPPFLAGS=['-DETC1_ENABLED'])
Export('env') Export('env')

View file

@ -6,7 +6,6 @@ etc_sources = [
"etc1/rg_etc1.cpp" "etc1/rg_etc1.cpp"
] ]
if (env["etc1"] != "no"):
env.drivers_sources+=etc_sources env.drivers_sources+=etc_sources
#env.add_source_files(env.drivers_sources, etc_sources) #env.add_source_files(env.drivers_sources, etc_sources)

View file

@ -222,10 +222,7 @@ void register_driver_types() {
#endif #endif
#endif #endif
#ifdef ETC1_ENABLED
_register_etc1_compress_func(); _register_etc1_compress_func();
#endif
initialize_chibi(); initialize_chibi();
} }