Fixed D3D9 initialization on Windows 8, which doesn't have D3DX
This commit is contained in:
parent
1d203bd13f
commit
d16a9a6781
9 changed files with 278 additions and 312 deletions
|
@ -47,12 +47,12 @@
|
|||
|
||||
#if !SDL_RENDER_DISABLED
|
||||
static const SDL_RenderDriver *render_drivers[] = {
|
||||
#if SDL_VIDEO_RENDER_D3D11
|
||||
&D3D11_RenderDriver,
|
||||
#endif
|
||||
#if SDL_VIDEO_RENDER_D3D
|
||||
&D3D_RenderDriver,
|
||||
#endif
|
||||
#if SDL_VIDEO_RENDER_D3D11
|
||||
&D3D11_RenderDriver,
|
||||
#endif
|
||||
#if SDL_VIDEO_RENDER_OGL
|
||||
&GL_RenderDriver,
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue