21 #include "../../SDL_internal.h"
23 #ifndef SDL_cocoaopengles_h_
24 #define SDL_cocoaopengles_h_
26 #if SDL_VIDEO_OPENGL_EGL
28 #include "../SDL_sysvideo.h"
29 #include "../SDL_egl_c.h"
32 #define Cocoa_GLES_GetAttribute SDL_EGL_GetAttribute
33 #define Cocoa_GLES_GetProcAddress SDL_EGL_GetProcAddress
34 #define Cocoa_GLES_UnloadLibrary SDL_EGL_UnloadLibrary
35 #define Cocoa_GLES_GetSwapInterval SDL_EGL_GetSwapInterval
36 #define Cocoa_GLES_SetSwapInterval SDL_EGL_SetSwapInterval
38 extern int Cocoa_GLES_LoadLibrary(
_THIS,
const char *
path);