@@ -356,7 +356,9 @@ namespace nbl
356
356
357
357
if (params.format == EF_UNKNOWN)
358
358
{
359
+ #ifndef _NBL_PLATFORM_ANDROID_
359
360
_params.logger .log (" LOAD EXR: incorrect format specified for " + suffixOfChannels + " channels - skipping the file %s" , system::ILogger::ELL_INFO, file.fileName ());
361
+ #endif // ! _NBL_PLATFORM_ANDROID_
360
362
continue ;
361
363
}
362
364
@@ -463,6 +465,7 @@ namespace nbl
463
465
const auto bChannel = doesTheChannelExist (" B" , mapOfChannels);
464
466
const auto aChannel = doesTheChannelExist (" A" , mapOfChannels);
465
467
468
+ #ifndef _NBL_PLATFORM_ANDROID_
466
469
if (rChannel && gChannel && bChannel && aChannel)
467
470
logger.log (" LOAD EXR: loading " + suffixName + " RGBA file %s" , system::ILogger::ELL_INFO, fileName.c_str ());
468
471
else if (rChannel && gChannel && bChannel)
@@ -473,6 +476,7 @@ namespace nbl
473
476
logger.log (" LOAD EXR: loading " + suffixName + " R file %s" , system::ILogger::ELL_INFO, fileName.c_str ());
474
477
else
475
478
logger.log (" LOAD EXR: the file's channels are invalid to load %s" , system::ILogger::ELL_ERROR, fileName.c_str ());
479
+ #endif // ! _NBL_PLATFORM_ANDROID_
476
480
477
481
auto doesMapOfChannelsFormatHaveTheSameFormatLikePassedToIt = [&](const PixelType ImfTypeToCompare)
478
482
{
@@ -521,7 +525,9 @@ namespace nbl
521
525
if (isTheBitActive (9 ))
522
526
{
523
527
versionField.Compoment .singlePartFileCompomentSubTypes = SContext::VersionField::Compoment::TILES;
528
+ #ifndef _NBL_PLATFORM_ANDROID_
524
529
logger.log (" LOAD EXR: the file consist of not supported tiles %s" , system::ILogger::ELL_ERROR, file.fileName ());
530
+ #endif // !_NBL_PLATFORM_ANDROID_
525
531
return false ;
526
532
}
527
533
else
@@ -531,14 +537,18 @@ namespace nbl
531
537
{
532
538
versionField.Compoment .type = SContext::VersionField::Compoment::MULTI_PART_FILE;
533
539
versionField.Compoment .singlePartFileCompomentSubTypes = SContext::VersionField::Compoment::SCAN_LINES_OR_TILES;
540
+ #ifndef _NBL_PLATFORM_ANDROID_
534
541
logger.log (" LOAD EXR: the file is a not supported multi part file %s" , system::ILogger::ELL_ERROR, file.fileName ());
542
+ #endif // ! _NBL_PLATFORM_ANDROID_
535
543
return false ;
536
544
}
537
545
538
546
if (!isTheBitActive (9 ) && isTheBitActive (11 ) && isTheBitActive (12 ))
539
547
{
540
548
versionField.doesItSupportDeepData = true ;
549
+ #ifndef _NBL_PLATFORM_ANDROID_
541
550
logger.log (" LOAD EXR: the file consist of not supported deep data%s" , system::ILogger::ELL_ERROR, file.fileName ());
551
+ #endif // ! _NBL_PLATFORM_ANDROID_
542
552
return false ;
543
553
}
544
554
else
0 commit comments