I’m trying to get a simple opengl program up and running so I can follow some webgl tutorials and learn with haxe. Trying to draw a triangle from the lime & openfl examples demonstrating using opengl, but can’t get it to work. It doesn’t render the triangle.
Here’s my class, can anyone point me in the right direction?
GLSprite.hx:
https://pastebin.com/WVCB8u6c
Main.hx:
https://pastebin.com/Mi9SDQND