-
由 MiiBond 提交于
Right now, if the DDS data is a cubemap, the code is hardcoded to load 6 faces. This could be made more robust by checking DDSCAPS2_CUBEMAP_POSITIVEX, etc. to verify that all 6 faces exist before reading the data from the buffer. I also did a quick update of the webgl_materials_texture_compressed example to load a cube DDS.
041a5d59