So I've been on project to create a simple triangle in directx11. When I compile the programme everything is ok, no errors, code fails nowhere (if u decide to take a look in code UpdateVertexShader and UpdateMatrices also succeed (checked it with breakpoints) ). But the triangle is not drawn (while black background is drawn (ClearRenderTargetView() with black color))
I'm simply out of ideas what could be wrong. I was looking at rastertek's code (rastertek.com) while I was writting. I know directx10 a bit, and now I'm migrating to directx11.
So please help me, enlighten me what could be wrong. Been looking whole day at code and trying to make it work, but unsuccessful. Code is not that long as on rastertek's page (I've taken out some unneccessary things).