src/render/direct3d11/SDL_render_d3d11.cpp
changeset 8445 b38ff6d1f2a6
parent 8444 dc12c4eda7e3
child 8446 290de0966136
equal deleted inserted replaced
8444:dc12c4eda7e3 8445:b38ff6d1f2a6
    92 // WinRT, TODO: fill in the Direct3D 11.1 renderer's max texture width and height
    92 // WinRT, TODO: fill in the Direct3D 11.1 renderer's max texture width and height
    93 extern "C" SDL_RenderDriver D3D11_RenderDriver = {
    93 extern "C" SDL_RenderDriver D3D11_RenderDriver = {
    94     D3D11_CreateRenderer,
    94     D3D11_CreateRenderer,
    95     {
    95     {
    96         "direct3d 11.1",
    96         "direct3d 11.1",
    97         (SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC | SDL_RENDERER_TARGETTEXTURE),    // flags.  see SDL_RendererFlags
    97         (SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC),    // flags.  see SDL_RendererFlags
    98         2,                          // num_texture_formats
    98         2,                          // num_texture_formats
    99         {                           // texture_formats
    99         {                           // texture_formats
   100             SDL_PIXELFORMAT_RGB888,
   100             SDL_PIXELFORMAT_RGB888,
   101             SDL_PIXELFORMAT_ARGB8888
   101             SDL_PIXELFORMAT_ARGB8888
   102         },
   102         },