-x included error if used

The -x include files error if used (saying they were excluded). Changed the trancoder to surround the BC7 mode 6 include with guards.
This commit is contained in:
Carl Woffenden
2019-09-30 15:15:13 +02:00
parent b48087bab8
commit a5c36a5291
2 changed files with 36 additions and 12 deletions

View File

@@ -146,7 +146,9 @@ namespace basisu
namespace basist
{
#if BASISD_SUPPORT_BC7_MODE6_OPAQUE_ONLY
#include "basisu_transcoder_tables_bc7_m6.inc"
#endif
#if BASISD_ENABLE_DEBUG_FLAGS
static uint32_t g_debug_flags = 0;