equal
deleted
inserted
replaced
27 |
27 |
28 #ifndef _SDL_system_h |
28 #ifndef _SDL_system_h |
29 #define _SDL_system_h |
29 #define _SDL_system_h |
30 |
30 |
31 #include "SDL_stdinc.h" |
31 #include "SDL_stdinc.h" |
32 |
32 #include "SDL_keyboard.h" |
33 #if defined(__IPHONEOS__) && __IPHONEOS__ |
33 #include "SDL_render.h" |
34 #include "SDL_video.h" |
34 #include "SDL_video.h" |
35 #include "SDL_keyboard.h" |
|
36 #endif |
|
37 |
35 |
38 #include "begin_code.h" |
36 #include "begin_code.h" |
39 /* Set up for C function definitions, even when using C++ */ |
37 /* Set up for C function definitions, even when using C++ */ |
40 #ifdef __cplusplus |
38 #ifdef __cplusplus |
41 extern "C" { |
39 extern "C" { |
48 /* Returns the D3D9 adapter index that matches the specified display index. |
46 /* Returns the D3D9 adapter index that matches the specified display index. |
49 This adapter index can be passed to IDirect3D9::CreateDevice and controls |
47 This adapter index can be passed to IDirect3D9::CreateDevice and controls |
50 on which monitor a full screen application will appear. |
48 on which monitor a full screen application will appear. |
51 */ |
49 */ |
52 extern DECLSPEC int SDLCALL SDL_Direct3D9GetAdapterIndex( int displayIndex ); |
50 extern DECLSPEC int SDLCALL SDL_Direct3D9GetAdapterIndex( int displayIndex ); |
|
51 |
|
52 /* Returns the D3D device associated with a renderer, or NULL if it's not a D3D renderer. */ |
|
53 typedef struct IDirect3DDevice9 IDirect3DDevice9; |
|
54 extern DECLSPEC IDirect3DDevice9* SDLCALL SDL_RenderGetD3DDevice(SDL_Renderer * renderer); |
53 |
55 |
54 #endif /* __WIN32__ */ |
56 #endif /* __WIN32__ */ |
55 |
57 |
56 |
58 |
57 /* Platform specific functions for iOS */ |
59 /* Platform specific functions for iOS */ |