glDrawArrays works for points but not triangles

后端 未结 0 1833
感情败类
感情败类 2021-02-04 08:23

I\'m storing vertex data in a c++ std::vector, and I just can\'t get the thing to work. I\'ve simplified my shader to just draw a red pixel at the centre of the screen so if the

相关标签:
回答
  • 消灭零回复
提交回复
热议问题