Browse Source

WinRT: d3d11 compiled-shader code cleanup

I'm surprised this code even compiled, before this change.  It did, but regardless, here's a cleanup.
David Ludwig 11 years ago
parent
commit
f0e406e994
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/render/direct3d11/SDL_render_d3d11.cpp

+ 2 - 2
src/render/direct3d11/SDL_render_d3d11.cpp

@@ -319,7 +319,7 @@ static const DWORD D3D11_PixelShader_Colors[] = {
     0x00000000, 0x00000003, 0x00000002, 0x00000f0f, 0x505f5653, 0x5449534f,
     0x00000000, 0x00000003, 0x00000002, 0x00000f0f, 0x505f5653, 0x5449534f,
     0x004e4f49, 0x43584554, 0x44524f4f, 0x4c4f4300, 0xab00524f, 0x4e47534f,
     0x004e4f49, 0x43584554, 0x44524f4f, 0x4c4f4300, 0xab00524f, 0x4e47534f,
     0x0000002c, 0x00000001, 0x00000008, 0x00000020, 0x00000000, 0x00000000,
     0x0000002c, 0x00000001, 0x00000008, 0x00000020, 0x00000000, 0x00000000,
-    0x00000003, 0x00000000, 0x0000000f, 0x545f5653, 0x45475241, 0xabab0054,
+    0x00000003, 0x00000000, 0x0000000f, 0x545f5653, 0x45475241, 0xabab0054
 };
 };
 #else
 #else
 #error "An appropriate 'colors' pixel shader is not defined."
 #error "An appropriate 'colors' pixel shader is not defined."
@@ -440,7 +440,7 @@ static const DWORD D3D11_VertexShader[] = {
     0x00000000, 0x00000001, 0x00000003, 0x00000000, 0x0000000f, 0x0000005c,
     0x00000000, 0x00000001, 0x00000003, 0x00000000, 0x0000000f, 0x0000005c,
     0x00000000, 0x00000000, 0x00000003, 0x00000001, 0x00000c03, 0x00000065,
     0x00000000, 0x00000000, 0x00000003, 0x00000001, 0x00000c03, 0x00000065,
     0x00000000, 0x00000000, 0x00000003, 0x00000002, 0x0000000f, 0x505f5653,
     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)
 #elif defined(D3D11_USE_SHADER_MODEL_4_0_level_9_3)
 static const DWORD D3D11_VertexShader[] = {
 static const DWORD D3D11_VertexShader[] = {