Examples: DirectX11: fixed vertex shader which breaks with VS2015 somehow (DX11 version?) (#313)

This commit is contained in:
ocornut 2015-09-01 10:47:36 +01:00
parent f195bf744f
commit 77bcb7152b

View File

@ -293,7 +293,7 @@ bool ImGui_ImplDX11_CreateDeviceObjects()
// Create the vertex shader
{
static const char* vertexShader =
"cbuffer vertexBuffer : register(c0) \
"cbuffer vertexBuffer : register(b0) \
{\
float4x4 ProjectionMatrix; \
};\