src/render/SDL_render.c
changeset 8599 532cd234e923
parent 8591 2228ae5a3ac6
child 8649 4ee50f124da2
     1.1 --- a/src/render/SDL_render.c	Mon Mar 10 15:00:59 2014 -0700
     1.2 +++ b/src/render/SDL_render.c	Mon Mar 10 17:19:19 2014 -0700
     1.3 @@ -47,12 +47,12 @@
     1.4  
     1.5  #if !SDL_RENDER_DISABLED
     1.6  static const SDL_RenderDriver *render_drivers[] = {
     1.7 +#if SDL_VIDEO_RENDER_D3D
     1.8 +    &D3D_RenderDriver,
     1.9 +#endif
    1.10  #if SDL_VIDEO_RENDER_D3D11
    1.11      &D3D11_RenderDriver,
    1.12  #endif
    1.13 -#if SDL_VIDEO_RENDER_D3D
    1.14 -    &D3D_RenderDriver,
    1.15 -#endif
    1.16  #if SDL_VIDEO_RENDER_OGL
    1.17      &GL_RenderDriver,
    1.18  #endif