include/SDL_system.h
changeset 7742 84e32c3d415c
parent 7264 23a5c8f4b312
child 7763 fc802d707136
     1.1 --- a/include/SDL_system.h	Fri Sep 13 17:42:38 2013 -0700
     1.2 +++ b/include/SDL_system.h	Fri Sep 13 17:42:46 2013 -0700
     1.3 @@ -41,6 +41,19 @@
     1.4  extern "C" {
     1.5  #endif
     1.6  
     1.7 +
     1.8 +/* Platform specific functions for Windows */
     1.9 +#ifdef __WIN32__
    1.10 +
    1.11 +/* Returns the D3D9 adapter index that matches the specified display index.
    1.12 +   This adapter index can be passed to IDirect3D9::CreateDevice and controls
    1.13 +   on which monitor a full screen application will appear.
    1.14 +*/
    1.15 +extern DECLSPEC int SDLCALL SDL_Direct3D9GetAdapterIndex( int displayIndex );
    1.16 +
    1.17 +#endif /* __WIN32__ */
    1.18 +
    1.19 +
    1.20  /* Platform specific functions for iOS */
    1.21  #if defined(__IPHONEOS__) && __IPHONEOS__
    1.22  
    1.23 @@ -93,7 +106,6 @@
    1.24  
    1.25  #endif /* __ANDROID__ */
    1.26  
    1.27 -
    1.28  /* Ends C function definitions when using C++ */
    1.29  #ifdef __cplusplus
    1.30  }