WinRT: made the Direct3D 11.1 renderer correctly report its status regarding render-to-texture (not supported, yet)
authorDavid Ludwig <dludwig@pobox.com>
Sun, 24 Feb 2013 10:14:23 -0500
changeset 8445 b38ff6d1f2a6
parent 8444 dc12c4eda7e3
child 8446 290de0966136
WinRT: made the Direct3D 11.1 renderer correctly report its status regarding render-to-texture (not supported, yet)
src/render/direct3d11/SDL_render_d3d11.cpp
--- a/src/render/direct3d11/SDL_render_d3d11.cpp	Sun Feb 24 10:11:58 2013 -0500
+++ b/src/render/direct3d11/SDL_render_d3d11.cpp	Sun Feb 24 10:14:23 2013 -0500
@@ -94,7 +94,7 @@
     D3D11_CreateRenderer,
     {
         "direct3d 11.1",
-        (SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC | SDL_RENDERER_TARGETTEXTURE),    // flags.  see SDL_RendererFlags
+        (SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC),    // flags.  see SDL_RendererFlags
         2,                          // num_texture_formats
         {                           // texture_formats
             SDL_PIXELFORMAT_RGB888,