Also fixed a typo in drawprim that was causing vertex declarations to crash.
Attach a file by drag & drop or click to upload