I'm out of ideas (directx11)

www.2shared.com/file/B7clFcpN/Project.html

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).

(above is the link for .cpp and shader files)
Last edited on
ok after 6+ hours of looking at code I realised i called RSGetViewports instead of RSSetViewPorts...........

the dumbest mistake ever costed me my nerves
Topic archived. No new replies allowed.