From fc56a1a5e9641b93fb31e5b2f2744115f51cd170 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Thu, 18 Aug 2022 09:45:29 +0200 Subject: [PATCH] Fix API declaration. --- include/assimp/material.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/assimp/material.h b/include/assimp/material.h index 0052888d1..94b1a8a33 100644 --- a/include/assimp/material.h +++ b/include/assimp/material.h @@ -1512,7 +1512,7 @@ ASSIMP_API C_ENUM aiReturn aiGetMaterialFloatArray( const char *pKey, unsigned int type, unsigned int index, - ai_real *pOut, + float *pOut, unsigned int *pMax); // --------------------------------------------------------------------------- @@ -1538,7 +1538,7 @@ inline aiReturn aiGetMaterialFloat(const C_STRUCT aiMaterial *pMat, const char *pKey, unsigned int type, unsigned int index, - ai_real *pOut) { + float *pOut) { return aiGetMaterialFloatArray(pMat, pKey, type, index, pOut, (unsigned int *)0x0); }