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

Commit

Permalink
Use KHRONOS_APIENTRY to fix win32 crash
Browse files Browse the repository at this point in the history
  • Loading branch information
paradust7 authored Dec 17, 2023
1 parent 9b52d6f commit 94cb0cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 94cb0cc

Please sign in to comment.