mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-09-10 04:28:26 +00:00
Don't add EAC to the demo if not building with EAC
This commit is contained in:
@@ -980,6 +980,7 @@ static transcoder_texture_format supports(EMSCRIPTEN_WEBGL_CONTEXT_HANDLE const
|
||||
: cTFBC1; // 2
|
||||
}
|
||||
#endif
|
||||
#if BASISD_SUPPORT_ETC2_EAC_A8 || !defined(BASISD_SUPPORT_ETC2_EAC_A8)
|
||||
/*
|
||||
* Then ETC2 (which may be incorrect).
|
||||
*/
|
||||
@@ -989,6 +990,7 @@ static transcoder_texture_format supports(EMSCRIPTEN_WEBGL_CONTEXT_HANDLE const
|
||||
? cTFETC2 // 1
|
||||
: cTFETC1; // 0
|
||||
}
|
||||
#endif
|
||||
/*
|
||||
* Finally ETC1, falling back on RGBA.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user