src/video/x11/SDL_x11window.h
changeset 7659 ac4ce59c40e7
parent 7617 918703f5cff8
child 8093 b43765095a6f
     1.1 --- a/src/video/x11/SDL_x11window.h	Mon Aug 19 11:02:44 2013 -0400
     1.2 +++ b/src/video/x11/SDL_x11window.h	Mon Aug 19 16:29:46 2013 -0300
     1.3 @@ -30,6 +30,10 @@
     1.4  #define PENDING_FOCUS_IN_TIME   200
     1.5  #define PENDING_FOCUS_OUT_TIME  200
     1.6  
     1.7 +#if SDL_VIDEO_OPENGL_EGL   
     1.8 +#include <EGL/egl.h>
     1.9 +#endif
    1.10 +
    1.11  typedef enum
    1.12  {
    1.13      PENDING_FOCUS_NONE,
    1.14 @@ -59,6 +63,9 @@
    1.15      struct SDL_VideoData *videodata;
    1.16      Atom xdnd_req;
    1.17      Window xdnd_source;
    1.18 +#if SDL_VIDEO_OPENGL_EGL  
    1.19 +    EGLSurface egl_surface;
    1.20 +#endif
    1.21  } SDL_WindowData;
    1.22  
    1.23  extern void X11_SetNetWMState(_THIS, Window xwindow, Uint32 flags);