include/SDL_system.h
changeset 7766 84b154b1ed71
parent 7765 09937804892a
child 8149 681eb46b8ac4
child 8535 e8ee0708ef5c
equal deleted inserted replaced
7765:09937804892a 7766:84b154b1ed71
    47    This adapter index can be passed to IDirect3D9::CreateDevice and controls
    47    This adapter index can be passed to IDirect3D9::CreateDevice and controls
    48    on which monitor a full screen application will appear.
    48    on which monitor a full screen application will appear.
    49 */
    49 */
    50 extern DECLSPEC int SDLCALL SDL_Direct3D9GetAdapterIndex( int displayIndex );
    50 extern DECLSPEC int SDLCALL SDL_Direct3D9GetAdapterIndex( int displayIndex );
    51 
    51 
    52 /* Returns the D3D device associated with a renderer, or NULL if it's not a D3D renderer. */
    52 /* Returns the D3D device associated with a renderer, or NULL if it's not a D3D renderer.
       
    53    Once you are done using the device, you should release it to avoid a resource leak.
       
    54  */
    53 typedef struct IDirect3DDevice9 IDirect3DDevice9;
    55 typedef struct IDirect3DDevice9 IDirect3DDevice9;
    54 extern DECLSPEC IDirect3DDevice9* SDLCALL SDL_RenderGetD3D9Device(SDL_Renderer * renderer);
    56 extern DECLSPEC IDirect3DDevice9* SDLCALL SDL_RenderGetD3D9Device(SDL_Renderer * renderer);
    55 
    57 
    56 #endif /* __WIN32__ */
    58 #endif /* __WIN32__ */
    57 
    59