src/render/SDL_render.c
changeset 8428 68c454170403
parent 8400 1315402d9028
child 8439 14d94a8a9fb6
     1.1 --- a/src/render/SDL_render.c	Tue Feb 12 21:25:26 2013 -0500
     1.2 +++ b/src/render/SDL_render.c	Tue Feb 12 21:26:04 2013 -0500
     1.3 @@ -49,9 +49,9 @@
     1.4  #if SDL_VIDEO_RENDER_D3D
     1.5      &D3D_RenderDriver,
     1.6  #endif
     1.7 -#if SDL_VIDEO_RENDER_D3D11
     1.8 -    &D3D11_RenderDriver,
     1.9 -#endif
    1.10 +//#if SDL_VIDEO_RENDER_D3D11
    1.11 +//    &D3D11_RenderDriver,
    1.12 +//#endif
    1.13  #if SDL_VIDEO_RENDER_OGL
    1.14      &GL_RenderDriver,
    1.15  #endif
    1.16 @@ -67,7 +67,11 @@
    1.17  #if SDL_VIDEO_RENDER_NDS
    1.18      &NDS_RenderDriver,
    1.19  #endif
    1.20 -    &SW_RenderDriver
    1.21 +    &SW_RenderDriver,
    1.22 +#if SDL_VIDEO_RENDER_D3D11
    1.23 +    // WinRT, TODO: once the Direct3D 11.1 renderer is ready, make it be used over the SW renderer via SDL_CreateRenderer(window, -1, 0)
    1.24 +    &D3D11_RenderDriver
    1.25 +#endif
    1.26  #endif /* !SDL_RENDER_DISABLED */
    1.27  };
    1.28  static char renderer_magic;