From d5cf713c20da7353bcf1496bcd85683b7d30231a Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 20 Aug 2014 17:49:58 +0200 Subject: [PATCH] Clarified comment on APIENTRY hack. --- src/win32_platform.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/win32_platform.h b/src/win32_platform.h index 591d8752..aa21d052 100644 --- a/src/win32_platform.h +++ b/src/win32_platform.h @@ -42,9 +42,9 @@ #define WIN32_LEAN_AND_MEAN #endif -// This is a workaround for the fact that glfw3.h needs to export APIENTRY (to -// correctly declare a GL_ARB_debug_output callback, for example) but windows.h -// thinks it is the only one that gets to do so +// This is a workaround for the fact that glfw3.h needs to export APIENTRY (for +// example to allow applications to correctly declare a GL_ARB_debug_output +// callback) but windows.h assumes no one will define APIENTRY before it does #undef APIENTRY // GLFW on Windows is Unicode only and does not work in MBCS mode