Lately I've been following rasertek's DirectX programming and in my code the createinputlayout()function does not work. I think I've got the same code the source does, but createinputlayoutkeeps returning false.
Code: https://gist.github.com/anonymous/69091f045bcadaa246dd#file-textureshaderclass-cpp-L52