thanks for the reply. To your question, yeah I have declared the Vertex in my header file. But everything was working fine before with the previous .fx file. Here is what my .fx file looked like BEFORE and it worked, with no warnings or errors.
float4 VShader(float4 position : POSITION) : SV_POSITION
{
return position;
}
float4 PShader() : SV_TARGET
{
return float4(1.0f, 1.0f, 1.0f, 1.0f);
}
Since I've created the "VOut" struct it doesn't like it, and breaks on the draw function.
So I'm pretty sure it's something to do with my .fx file.