Fixing build warnings

This commit is contained in:
Brad Davis 2018-02-26 10:17:07 -08:00
parent 0550138609
commit 5aa15b5422
2 changed files with 0 additions and 8 deletions

View file

@ -68,7 +68,6 @@ ShapeKey MaterialEntityRenderer::getShapeKey() {
bool isTranslucent = drawMaterialKey.isTranslucent();
bool hasTangents = drawMaterialKey.isNormalMap();
bool hasSpecular = drawMaterialKey.isMetallicMap();
bool hasLightmap = drawMaterialKey.isLightmapMap();
bool isUnlit = drawMaterialKey.isUnlit();

View file

@ -70,13 +70,6 @@ void messageHandler(QtMsgType type, const QMessageLogContext& context, const QSt
std::cout << message.toStdString() << std::endl;
}
static inline glm::uvec2 evalMipDimension(uint32_t mipLevel, const glm::uvec2& dims) {
return glm::uvec2{
std::max(dims.x >> mipLevel, 1U),
std::max(dims.y >> mipLevel, 1U),
};
}
void processKtxFile(const QFileInfo& inputFileInfo) {
const QString inputFileName = inputFileInfo.absoluteFilePath();
const QString compressedFileName = DEST_FOLDER.absoluteFilePath(inputFileInfo.fileName());