WinRT: d3d11 compiled-shader code cleanup
authorDavid Ludwig <dludwig@pobox.com>
Wed, 25 Dec 2013 22:27:58 -0500
changeset 8565 074f3f8e43de
parent 8564 03366aeff6c6
child 8566 7b4d9d694189
WinRT: d3d11 compiled-shader code cleanup I'm surprised this code even compiled, before this change. It did, but regardless, here's a cleanup.
src/render/direct3d11/SDL_render_d3d11.cpp
--- a/src/render/direct3d11/SDL_render_d3d11.cpp	Wed Dec 25 22:05:18 2013 -0500
+++ b/src/render/direct3d11/SDL_render_d3d11.cpp	Wed Dec 25 22:27:58 2013 -0500
@@ -319,7 +319,7 @@
     0x00000000, 0x00000003, 0x00000002, 0x00000f0f, 0x505f5653, 0x5449534f,
     0x004e4f49, 0x43584554, 0x44524f4f, 0x4c4f4300, 0xab00524f, 0x4e47534f,
     0x0000002c, 0x00000001, 0x00000008, 0x00000020, 0x00000000, 0x00000000,
-    0x00000003, 0x00000000, 0x0000000f, 0x545f5653, 0x45475241, 0xabab0054,
+    0x00000003, 0x00000000, 0x0000000f, 0x545f5653, 0x45475241, 0xabab0054
 };
 #else
 #error "An appropriate 'colors' pixel shader is not defined."
@@ -440,7 +440,7 @@
     0x00000000, 0x00000001, 0x00000003, 0x00000000, 0x0000000f, 0x0000005c,
     0x00000000, 0x00000000, 0x00000003, 0x00000001, 0x00000c03, 0x00000065,
     0x00000000, 0x00000000, 0x00000003, 0x00000002, 0x0000000f, 0x505f5653,
-    0x5449534f, 0x004e4f49, 0x43584554, 0x44524f4f, 0x4c4f4300, 0xab00524f,
+    0x5449534f, 0x004e4f49, 0x43584554, 0x44524f4f, 0x4c4f4300, 0xab00524f
 };
 #elif defined(D3D11_USE_SHADER_MODEL_4_0_level_9_3)
 static const DWORD D3D11_VertexShader[] = {