Mercurial > hg > orthanc-stone
changeset 1430:5128b448a6ee
yet another try to fix OS X
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 15 May 2020 18:03:20 +0200 |
parents | 6be54098dba3 |
children | 1eaf19af15bf |
files | Samples/Sdl/RtViewer/RtViewerSdl.cpp |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Samples/Sdl/RtViewer/RtViewerSdl.cpp Fri May 15 17:42:59 2020 +0200 +++ b/Samples/Sdl/RtViewer/RtViewerSdl.cpp Fri May 15 18:03:20 2020 +0200 @@ -44,7 +44,12 @@ #include <string> -static void APIENTRY /* GLAPIENTRY */ +#if !defined(GLAPIENTRY) +// For OS X compatibility +# define GLAPIENTRY +#endif + +static void GLAPIENTRY OpenGLMessageCallback(GLenum source, GLenum type, GLuint id,