src/video/x11/SDL_x11opengles.h
changeset 10616 d17dd08640a4
parent 9998 f67cf37e9cd4
child 10638 d11daa346140
     1.1 --- a/src/video/x11/SDL_x11opengles.h	Tue Nov 15 01:24:58 2016 -0800
     1.2 +++ b/src/video/x11/SDL_x11opengles.h	Tue Nov 15 01:30:08 2016 -0800
     1.3 @@ -30,6 +30,9 @@
     1.4  
     1.5  typedef struct SDL_PrivateGLESData
     1.6  {
     1.7 +  /* 1401 If the struct-declaration-list contains no named members, the behavior is undefined. */
     1.8 +  /* warning: empty struct has size 0 in C, size 1 in C++ [-Wc++-compat] */
     1.9 +  int dummy; 
    1.10  } SDL_PrivateGLESData;
    1.11  
    1.12  /* OpenGLES functions */