diff --git a/filament/src/details/Material.cpp b/filament/src/details/Material.cpp index 90f65b64013f..d3d163cd1874 100644 --- a/filament/src/details/Material.cpp +++ b/filament/src/details/Material.cpp @@ -575,7 +575,7 @@ Program FMaterial::getProgramWithVariants( << "The material '" << mName.c_str() << "' has not been compiled to include the required GLSL or SPIR-V chunks for the " "vertex shader (variant=" - << variant.key << ", filtered=" << vertexVariant.key << ")."; + << (int) variant.key << ", filtered=" << (int) vertexVariant.key << ")."; /* * Fragment shader @@ -590,7 +590,7 @@ Program FMaterial::getProgramWithVariants( << "The material '" << mName.c_str() << "' has not been compiled to include the required GLSL or SPIR-V chunks for the " "fragment shader (variant=" - << variant.key << ", filtered=" << ")."; + << (int) variant.key << ", filtered=" << (int) fragmentVariant.key << ")."; Program program; program.shader(ShaderStage::VERTEX, vsBuilder.data(), vsBuilder.size())