mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 10:47:09 +02:00
Fixing build warnings
This commit is contained in:
parent
0550138609
commit
5aa15b5422
2 changed files with 0 additions and 8 deletions
|
@ -68,7 +68,6 @@ ShapeKey MaterialEntityRenderer::getShapeKey() {
|
||||||
|
|
||||||
bool isTranslucent = drawMaterialKey.isTranslucent();
|
bool isTranslucent = drawMaterialKey.isTranslucent();
|
||||||
bool hasTangents = drawMaterialKey.isNormalMap();
|
bool hasTangents = drawMaterialKey.isNormalMap();
|
||||||
bool hasSpecular = drawMaterialKey.isMetallicMap();
|
|
||||||
bool hasLightmap = drawMaterialKey.isLightmapMap();
|
bool hasLightmap = drawMaterialKey.isLightmapMap();
|
||||||
bool isUnlit = drawMaterialKey.isUnlit();
|
bool isUnlit = drawMaterialKey.isUnlit();
|
||||||
|
|
||||||
|
|
|
@ -70,13 +70,6 @@ void messageHandler(QtMsgType type, const QMessageLogContext& context, const QSt
|
||||||
std::cout << message.toStdString() << std::endl;
|
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) {
|
void processKtxFile(const QFileInfo& inputFileInfo) {
|
||||||
const QString inputFileName = inputFileInfo.absoluteFilePath();
|
const QString inputFileName = inputFileInfo.absoluteFilePath();
|
||||||
const QString compressedFileName = DEST_FOLDER.absoluteFilePath(inputFileInfo.fileName());
|
const QString compressedFileName = DEST_FOLDER.absoluteFilePath(inputFileInfo.fileName());
|
||||||
|
|
Loading…
Reference in a new issue