include/SDL_system.h
changeset 7763 fc802d707136
parent 7742 84e32c3d415c
child 7765 09937804892a
     1.1 --- a/include/SDL_system.h	Sat Sep 28 14:06:59 2013 -0700
     1.2 +++ b/include/SDL_system.h	Sat Sep 28 14:07:05 2013 -0700
     1.3 @@ -29,11 +29,9 @@
     1.4  #define _SDL_system_h
     1.5  
     1.6  #include "SDL_stdinc.h"
     1.7 -
     1.8 -#if defined(__IPHONEOS__) && __IPHONEOS__
     1.9 +#include "SDL_keyboard.h"
    1.10 +#include "SDL_render.h"
    1.11  #include "SDL_video.h"
    1.12 -#include "SDL_keyboard.h"
    1.13 -#endif
    1.14  
    1.15  #include "begin_code.h"
    1.16  /* Set up for C function definitions, even when using C++ */
    1.17 @@ -51,6 +49,10 @@
    1.18  */
    1.19  extern DECLSPEC int SDLCALL SDL_Direct3D9GetAdapterIndex( int displayIndex );
    1.20  
    1.21 +/* Returns the D3D device associated with a renderer, or NULL if it's not a D3D renderer. */
    1.22 +typedef struct IDirect3DDevice9 IDirect3DDevice9;
    1.23 +extern DECLSPEC IDirect3DDevice9* SDLCALL SDL_RenderGetD3DDevice(SDL_Renderer * renderer);
    1.24 +
    1.25  #endif /* __WIN32__ */
    1.26  
    1.27