Use KHRONOS_APIENTRY to fix win32 crash

This commit is contained in:
paradust7 2023-12-17 08:00:41 -08:00 committed by GitHub
parent 9b52d6fb0d
commit 94cb0cc19d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
#include <KHR/khrplatform.h>
#ifndef APIENTRY
#define APIENTRY
#define APIENTRY KHRONOS_APIENTRY
#endif
#ifndef APIENTRYP
#define APIENTRYP APIENTRY *

View File

@ -355,7 +355,7 @@ f:write[[
#include <KHR/khrplatform.h>
#ifndef APIENTRY
#define APIENTRY
#define APIENTRY KHRONOS_APIENTRY
#endif
#ifndef APIENTRYP
#define APIENTRYP APIENTRY *