X-Git-Url: https://git.cworth.org/git?p=vogl;a=blobdiff_plain;f=src%2Fvoglcore%2Fvogl_ktx_texture.cpp;h=037e2e4ad8206b01812dacaa1d0c94ac98fa7b29;hp=8e753d2e6b84158e336cfb31590ab3846a16d6c1;hb=f68811cb11c76f4b6ecc982401c87a0bd49a26e6;hpb=d73de670dade59a783990e5ac264bb3cfd9d45d9 diff --git a/src/voglcore/vogl_ktx_texture.cpp b/src/voglcore/vogl_ktx_texture.cpp index 8e753d2..037e2e4 100644 --- a/src/voglcore/vogl_ktx_texture.cpp +++ b/src/voglcore/vogl_ktx_texture.cpp @@ -962,12 +962,14 @@ namespace vogl if ((get_num_faces() == 6) && ((m_header.m_pixelDepth) || (!m_header.m_pixelHeight))) return false; +#if 0 if (m_header.m_numberOfMipmapLevels) { const uint max_mipmap_dimension = 1U << (m_header.m_numberOfMipmapLevels - 1U); if (max_mipmap_dimension > (VOGL_MAX(VOGL_MAX(m_header.m_pixelWidth, m_header.m_pixelHeight), m_header.m_pixelDepth))) return false; } +#endif return true; }