|
|
@ -912,7 +912,6 @@ bool Compressor::Private::outputHeader(nvtt::TextureType textureType, int w, int
|
|
|
|
header.glFormat = GL_RGBA;
|
|
|
|
header.glFormat = GL_RGBA;
|
|
|
|
header.glInternalFormat = GL_RGBA16F;
|
|
|
|
header.glInternalFormat = GL_RGBA16F;
|
|
|
|
header.glBaseInternalFormat = GL_RGBA;
|
|
|
|
header.glBaseInternalFormat = GL_RGBA;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if (compressionOptions.rsize == 11 && compressionOptions.gsize == 11 && compressionOptions.bsize == 10 && compressionOptions.asize == 0) {
|
|
|
|
else if (compressionOptions.rsize == 11 && compressionOptions.gsize == 11 && compressionOptions.bsize == 10 && compressionOptions.asize == 0) {
|
|
|
|
header.glType = GL_UNSIGNED_INT_10F_11F_11F_REV;
|
|
|
|
header.glType = GL_UNSIGNED_INT_10F_11F_11F_REV;
|
|
|
|