add an option to build against GLES2 instead of OpenGL
Create OpenGL ES2 context when compiled with USE_GLES=1
Merge pull request #43 from fayvel/gles2_fixes

Allow to build against OpenGL ES2 with SDL2