Fix OpenGL PGL init issues observed using OpenGL ES 2

This pull request enables Processing P3D sketches to be used on GNU/Linux armhf OpenGL ES 2 devices.

Tested on a Toshiba AC100, Tegra 2 GPU, running Ubuntu 12.10 armhf.