27 Oct 2008, 10:24pm

leave a comment

What the docs don’t tell you about glDrawArrays

A classic case of spending a day’s worth of work on a bugfix, resulting in a single changed line of code.

What they don’t tell you in any of the related docs for glDrawArrays is that if you are using VBOs and are not resetting the buffers, geometry drawn with glDrawArrays will be draw corrupted.

Fortunately there is a solution – they need to be set to zero with glBindBuffer(GL_ARRAY_BUFFER, 0);

26 Oct 2008, 1:50am

leave a comment

iPhone fonts

11 Oct 2008, 8:02pm

leave a comment

First iPhone build

Got my first iPhone sample app compiled, running and single-step debugging on the iPhone just now… woo

The code signing setup is a real pain, way more complex than running XNA code was on the Xbox360 – you have to generate certificate signing requests, get several certificates, register the device and then finally apply this fix