diff --git a/src/modules/graphics/Shader.cpp b/src/modules/graphics/Shader.cpp index a35bb3a50..567a1b092 100644 --- a/src/modules/graphics/Shader.cpp +++ b/src/modules/graphics/Shader.cpp @@ -1232,7 +1232,7 @@ static bool AddFieldsToFormat(std::vector &format, int DataFormat dataformat = getDataFormat(type->getBasicType(), type->getVectorSize(), type->getMatrixRows(), type->getMatrixCols(), type->isMatrix()); if (dataformat == DATAFORMAT_MAX_ENUM) { - err = "Shader validation error:\n"; + err = "Shader validation error:\nUnhandled data format for type " + (int)type->getBasicType() + std::string(" with name ") + basename; return false; }