mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-04 15:11:05 +01:00 
			
		
		
		
	Examples: DirectX11: fixed vertex shader which breaks with VS2015 somehow (DX11 version?) (#313)
This commit is contained in:
		@@ -293,7 +293,7 @@ bool    ImGui_ImplDX11_CreateDeviceObjects()
 | 
				
			|||||||
    // Create the vertex shader
 | 
					    // Create the vertex shader
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        static const char* vertexShader = 
 | 
					        static const char* vertexShader = 
 | 
				
			||||||
            "cbuffer vertexBuffer : register(c0) \
 | 
					            "cbuffer vertexBuffer : register(b0) \
 | 
				
			||||||
            {\
 | 
					            {\
 | 
				
			||||||
            float4x4 ProjectionMatrix; \
 | 
					            float4x4 ProjectionMatrix; \
 | 
				
			||||||
            };\
 | 
					            };\
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user