unsigned int stride = 0;This is invalid, it should equal to size of your vertex (12 it seems). I think this is the problem.
Also, have you tried to disable depth buffer (don't set one), and use default RS / OM states (set nullptr)?
Posted 20 January 2013 - 04:26 AM
unsigned int stride = 0;This is invalid, it should equal to size of your vertex (12 it seems). I think this is the problem.
Posted 20 January 2013 - 04:00 AM
unsigned int stride = 0;
This is invalid, it should equal to size of your vertex (12 it seems). Not sure if that could be the problem.
Have you tried to disable depth buffer (don't set one), and use default RS / OM states (set nullptr)?