mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 10:48:51 -05:00
Clarified comment on APIENTRY hack.
This commit is contained in:
parent
10ee8b4e27
commit
d5cf713c20
|
@ -42,9 +42,9 @@
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// This is a workaround for the fact that glfw3.h needs to export APIENTRY (to
|
// This is a workaround for the fact that glfw3.h needs to export APIENTRY (for
|
||||||
// correctly declare a GL_ARB_debug_output callback, for example) but windows.h
|
// example to allow applications to correctly declare a GL_ARB_debug_output
|
||||||
// thinks it is the only one that gets to do so
|
// callback) but windows.h assumes no one will define APIENTRY before it does
|
||||||
#undef APIENTRY
|
#undef APIENTRY
|
||||||
|
|
||||||
// GLFW on Windows is Unicode only and does not work in MBCS mode
|
// GLFW on Windows is Unicode only and does not work in MBCS mode
|
||||||
|
|
Loading…
Reference in New Issue
Block a user