Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Use KHRONOS_APIENTRY to fix Win32 crash #263

Merged
merged 1 commit into from
Dec 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/mt_opengl.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <KHR/khrplatform.h>

#ifndef APIENTRY
#define APIENTRY
#define APIENTRY KHRONOS_APIENTRY
#endif
#ifndef APIENTRYP
#define APIENTRYP APIENTRY *
Expand Down
2 changes: 1 addition & 1 deletion scripts/BindingGenerator.lua
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ f:write[[
#include <KHR/khrplatform.h>

#ifndef APIENTRY
#define APIENTRY
#define APIENTRY KHRONOS_APIENTRY
#endif
#ifndef APIENTRYP
#define APIENTRYP APIENTRY *
Expand Down