src/video/winrt/SDL_winrtvideo_cpp.h
changeset 8541 0041edb891f3
parent 8515 bc6cf9201dab
child 8545 7cf4f8916997
     1.1 --- a/src/video/winrt/SDL_winrtvideo_cpp.h	Fri Nov 01 22:54:39 2013 -0400
     1.2 +++ b/src/video/winrt/SDL_winrtvideo_cpp.h	Mon Nov 04 19:54:29 2013 -0500
     1.3 @@ -26,8 +26,14 @@
     1.4  #endif
     1.5  
     1.6  /* SDL includes: */
     1.7 +#include "SDL_video.h"
     1.8  #include "SDL_events.h"
     1.9  
    1.10 +extern "C" {
    1.11 +#include "../SDL_sysvideo.h"
    1.12 +#include "SDL_winrtegl.h"
    1.13 +}
    1.14 +
    1.15  
    1.16  /* The global, WinRT, SDL Window.
    1.17     For now, SDL/WinRT only supports one window (due to platform limitations of
    1.18 @@ -49,6 +55,9 @@
    1.19  {
    1.20      SDL_Window *sdlWindow;
    1.21      Platform::Agile<Windows::UI::Core::CoreWindow> coreWindow;
    1.22 +#ifdef SDL_VIDEO_OPENGL_EGL
    1.23 +    EGLSurface egl_surface;
    1.24 +#endif
    1.25  };
    1.26  
    1.27  #endif // ifdef __cplusplus_winrt