examples: fixes for rpi + remove remaining calls to glBegin/glEnd