|
@@ -525,9 +525,11 @@ void ExportSkin(Asset& mAsset, const aiMesh* aimesh, Ref<Mesh>& meshRef, Ref<Buf
|
|
|
delete[] vertexJointData;
|
|
|
}
|
|
|
|
|
|
-#if defined(__has_warning) && __has_warning("-Wunused-but-set-variable")
|
|
|
+#if defined(__has_warning)
|
|
|
+#if __has_warning("-Wunused-but-set-variable")
|
|
|
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
|
|
|
#endif
|
|
|
+#endif
|
|
|
|
|
|
void glTFExporter::ExportMeshes()
|
|
|
{
|
|
@@ -797,9 +799,11 @@ void glTFExporter::ExportMeshes()
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-#if defined(__has_warning) && __has_warning("-Wunused-but-set-variable")
|
|
|
+#if defined(__has_warning)
|
|
|
+#if __has_warning("-Wunused-but-set-variable")
|
|
|
#pragma GCC diagnostic pop
|
|
|
#endif
|
|
|
+#endif
|
|
|
|
|
|
/*
|
|
|
* Export the root node of the node hierarchy.
|