Posts tagged with “c++

My OpenGL ES shader fails to link with no error.

I'm working on a new cross platform engine for developing visuals on any device. I've spent a few days trying to work out why Linux will compile and run my shaders but not my Android device.

How to loop over a Lua array/table in C/C++

Took me a while to figure it out and a lot of non-helpful Googling but looping over a table from Lua using the C API turns out to be pretty simple although not intuitive at all.