Fix error where -Wunused-but-set-variable might not be available
parent
3bf6963d20
commit
b3f61f8759
|
@ -525,9 +525,9 @@ void ExportSkin(Asset& mAsset, const aiMesh* aimesh, Ref<Mesh>& meshRef, Ref<Buf
|
||||||
delete[] vertexJointData;
|
delete[] vertexJointData;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if __GNUC__
|
#if !defined(__has_warning) || __has_warning("-Wunused-but-set-variable")
|
||||||
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
|
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
|
||||||
#endif // __GNUC__
|
#endif
|
||||||
|
|
||||||
void glTFExporter::ExportMeshes()
|
void glTFExporter::ExportMeshes()
|
||||||
{
|
{
|
||||||
|
@ -797,9 +797,9 @@ void glTFExporter::ExportMeshes()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if __GNUC__
|
#if !defined(__has_warning) || __has_warning("-Wunused-but-set-variable")
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
#endif // __GNUC__
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Export the root node of the node hierarchy.
|
* Export the root node of the node hierarchy.
|
||||||
|
|
Loading…
Reference in New Issue