WinRT: removed a comment regarding a dealt-with TODO
authorDavid Ludwig <dludwig@pobox.com>
Wed, 28 Aug 2013 12:45:43 -0400
changeset 8509 977e2aabdcaa
parent 8508 3d6da410a49f
child 8510 b828c4cc5cd8
WinRT: removed a comment regarding a dealt-with TODO
src/render/direct3d11/SDL_render_d3d11.cpp
--- a/src/render/direct3d11/SDL_render_d3d11.cpp	Wed Aug 28 12:38:30 2013 -0400
+++ b/src/render/direct3d11/SDL_render_d3d11.cpp	Wed Aug 28 12:45:43 2013 -0400
@@ -793,6 +793,9 @@
 #if WINAPI_FAMILY != WINAPI_FAMILY_PHONE_APP
     // Set the proper orientation for the swap chain, and generate the
     // 3D matrix transformation for rendering to the rotated swap chain.
+    //
+    // To note, his operation is not necessary on Windows Phone, nor is it
+    // even supported there.  It's only needed in Windows 8/RT.
     DXGI_MODE_ROTATION rotation = DXGI_MODE_ROTATION_UNSPECIFIED;
     switch (data->orientation)
     {
@@ -816,7 +819,6 @@
             throw ref new Platform::FailureException();
     }
 
-    // TODO, WinRT: Windows Phone does not have the IDXGISwapChain1::SetRotation method.  Check if an alternative is available, or needed.
     result = data->swapChain->SetRotation(rotation);
     if (FAILED(result)) {
         WIN_SetErrorFromHRESULT(__FUNCTION__, result);