Porting Rika to OpenGL ES

Huge pain, huge pain...

Since OpenGL ES 2.0 removes the fixed pipeline completely, many binding functions fails (silently) which caused me a lot of time to figure it out. Also the implementation I'm using is somewhat buggy, for example:

Array indices have to be defined in short, but the type that you tell drawElement what it is has to be unsigned short. wtf?

Another thing is that the array elements in use need to have the same length. This is not necessary in OpenGL.

Anyway, working on preliminary UIKit backend.

I'm still in no internet (ideally, practically: minimum internet) mode though, nowadays it seems to be the only way to get things done.

2.png

2.png

blog comments powered by Disqus