src/video/x11/SDL_x11opengles.h
changeset 10616 d17dd08640a4
parent 9998 f67cf37e9cd4
child 10638 d11daa346140
equal deleted inserted replaced
10615:f85f1e6d857c 10616:d17dd08640a4
    28 #include "../SDL_sysvideo.h"
    28 #include "../SDL_sysvideo.h"
    29 #include "../SDL_egl_c.h"
    29 #include "../SDL_egl_c.h"
    30 
    30 
    31 typedef struct SDL_PrivateGLESData
    31 typedef struct SDL_PrivateGLESData
    32 {
    32 {
       
    33   /* 1401 If the struct-declaration-list contains no named members, the behavior is undefined. */
       
    34   /* warning: empty struct has size 0 in C, size 1 in C++ [-Wc++-compat] */
       
    35   int dummy; 
    33 } SDL_PrivateGLESData;
    36 } SDL_PrivateGLESData;
    34 
    37 
    35 /* OpenGLES functions */
    38 /* OpenGLES functions */
    36 #define X11_GLES_GetAttribute SDL_EGL_GetAttribute
    39 #define X11_GLES_GetAttribute SDL_EGL_GetAttribute
    37 #define X11_GLES_GetProcAddress SDL_EGL_GetProcAddress
    40 #define X11_GLES_GetProcAddress SDL_EGL_GetProcAddress