Skip to content

Commit

Permalink
WinRT: d3d11 compiled-shader code cleanup
Browse files Browse the repository at this point in the history
I'm surprised this code even compiled, before this change.  It did, but regardless, here's a cleanup.
  • Loading branch information
DavidLudwig committed Dec 26, 2013
1 parent 4d16628 commit f0e406e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/render/direct3d11/SDL_render_d3d11.cpp
Expand Up @@ -319,7 +319,7 @@ static const DWORD D3D11_PixelShader_Colors[] = {
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."
Expand Down Expand Up @@ -440,7 +440,7 @@ static const DWORD D3D11_VertexShader[] = {
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[] = {
Expand Down

0 comments on commit f0e406e

Please sign in to comment.