mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
Add definition of GLAPIENTRY
This commit is contained in:
parent
e83be1d73a
commit
a90ee65f7b
@ -104,6 +104,7 @@ information on what to include when reporting a bug.
|
||||
scancodes for keys (#830)
|
||||
- Added `glfwSetWindowMaximizeCallback` and `GLFWwindowmaximizefun` for
|
||||
receiving window maximization events (#778)
|
||||
- Added definition of `GLAPIENTRY` to public header
|
||||
- Bugfix: Calling `glfwMaximizeWindow` on a full screen window was not ignored
|
||||
- Bugfix: `GLFW_INCLUDE_VULKAN` could not be combined with the corresponding
|
||||
OpenGL and OpenGL ES header macros
|
||||
|
@ -101,6 +101,12 @@ extern "C" {
|
||||
#endif
|
||||
#endif /* APIENTRY */
|
||||
|
||||
/* Some OpenGL related headers use GLAPIENTRY instead.
|
||||
*/
|
||||
#ifndef GLAPIENTRY
|
||||
#define GLAPIENTRY APIENTRY
|
||||
#endif /* GLAPIENTRY */
|
||||
|
||||
/* Some Windows OpenGL headers need this.
|
||||
*/
|
||||
#if !defined(WINGDIAPI) && defined(_WIN32)
|
||||
|
Loading…
Reference in New Issue
Block a user