Make gp2x renderer compile. Doesn't quite work yet.