Simple patch that allows initializing a FB device based engine using OpenGL ES 1. Tested on an i.MX6 evaluation kit, it builds and runs without crashing but nothing is displayed on the screen. Will investigate on my board as it might be related to the i.MX6 GPU OpenGL ES 1 implementation.
Maybe the problem is due to your code querying for an ogles2 device?