From 77bcb7152ba73e88e8ebe91f6b140b783c399898 Mon Sep 17 00:00:00 2001 From: ocornut Date: Tue, 1 Sep 2015 10:47:36 +0100 Subject: [PATCH] Examples: DirectX11: fixed vertex shader which breaks with VS2015 somehow (DX11 version?) (#313) --- examples/directx11_example/imgui_impl_dx11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/directx11_example/imgui_impl_dx11.cpp b/examples/directx11_example/imgui_impl_dx11.cpp index 6ac188f8..6991fc8e 100644 --- a/examples/directx11_example/imgui_impl_dx11.cpp +++ b/examples/directx11_example/imgui_impl_dx11.cpp @@ -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; \ };\