I have a really stupid question to make regarding Lime OpenGL (WebGL).
On Neko, I can use gl.texImage2D as following (let’s assume it’s a 32x32 image):
gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, 32, 32, 0, gl.RGBA, gl.UNSIGNED_BYTE, image.buffer.data );
And it works nicely.
However, when it comes to html5, my dandy little cube (I’m a beginner alright?) remains black!
In older versions of Lime I guess, you could just :
But it seems byteView was removed…