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; \ };\