comparison Samples/Sdl/RtViewer/RtViewerSdl.cpp @ 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
comparison
equal deleted inserted replaced
1429:6be54098dba3 1430:5128b448a6ee
42 42
43 #include <SDL.h> 43 #include <SDL.h>
44 44
45 #include <string> 45 #include <string>
46 46
47 static void APIENTRY /* GLAPIENTRY */ 47 #if !defined(GLAPIENTRY)
48 // For OS X compatibility
49 # define GLAPIENTRY
50 #endif
51
52 static void GLAPIENTRY
48 OpenGLMessageCallback(GLenum source, 53 OpenGLMessageCallback(GLenum source,
49 GLenum type, 54 GLenum type,
50 GLuint id, 55 GLuint id,
51 GLenum severity, 56 GLenum severity,
52 GLsizei length, 57 GLsizei length,