ByteDance interview question

How to draw a triangular in OpenGL.