|
|
@@ -177,9 +177,9 @@ void Device::init()
|
|
|
bool do_continue = true;
|
|
|
|
|
|
#if CROWN_PLATFORM_LINUX || CROWN_PLATFORM_WINDOWS
|
|
|
- _bundle_compiler = CE_NEW(_allocator, BundleCompiler)(_device_options._source_dir, _device_options._bundle_dir);
|
|
|
if (_device_options._do_compile)
|
|
|
{
|
|
|
+ _bundle_compiler = CE_NEW(_allocator, BundleCompiler)(_device_options._source_dir, _device_options._bundle_dir);
|
|
|
bool success = _bundle_compiler->compile_all(_device_options._platform);
|
|
|
do_continue = success && _device_options._do_continue;
|
|
|
}
|