I forgot to mention that I had to use this patch to SDL to make the GLES support work on 64-bit: http://bugzilla.libsdl.org/show_bug.cgi?id=1520 - Neil