Sam Lantinga
|
202528a48f
Call AddRef() on the device so it doesn't accidentally get released from underneath the caller.
|
11 năm trước cách đây |
Sam Lantinga
|
25f607a3c2
Make it clear we're just returning a D3D9 device, allowing for new functions to get other D3D versions
|
11 năm trước cách đây |
Sam Lantinga
|
803965bcc2
Added platform specific call: SDL_RenderGetD3DDevice()
|
11 năm trước cách đây |
Sam Lantinga
|
fae4190dca
Added SDL_Direct3D9GetAdapterIndex(), which returns the adapter index you would pass into CreateDevice to get your device on the right monitor in full screen mode. This fixes the default adapter in SDL_render_d3d.c, which means that tests will work fullscreen off the main monitor now.
|
11 năm trước cách đây |
Gabriel Jacobo
|
dad420670f
Fixes #2022, do not resume on Android when surfaceChanged
|
11 năm trước cách đây |