I get a pretty wierd error when using
hr = D3DX11CompileFromFile("Effects.fx", 0, 0, "VS", "vs_4_0", 0, 0, 0, &VS_Buffer, &error1, 0);
hr returns E_FAIL and error1 is empty.
E_FAIL: Attempted to create a device with the debug layer enabled and the layer is not installed.
But I create my device without the debug-flag, so I can't see whats the point in this.
Do you have any idea?