gritsenko / c3_spine_plugin

Spine plugin for construct 3
MIT License
24 stars 8 forks source link

Add support for WebGl 1 #6

Closed MikalDev closed 4 years ago

MikalDev commented 4 years ago

This may only be dealing with the VAO built-in vs extension:

WebGl1: var ext = gl.getExtension("OES_vertex_array_object"); if (!ext) { // tell user they don't have the required extension or work around it } else { var someVAO = ext.createVertexArrayOES(); } WebGl2: var someVAO = gl.createVertexArray();

https://webgl2fundamentals.org/webgl/lessons/webgl1-to-webgl2.html

MikalDev commented 4 years ago

Support added with #9