privat/nit — pull request #689 by privat (2014-08-27 03:14:44+00:00)
Title: sed 's/_\?OES//g' opengles1.nit > opengl.nit

Because of things explained in the debian bug 754397, the compilation of mnit project fails on linux systems with a recent mesa library.

One way to solve the problem is to use the GL instead of GLES.
Hover, GL is not available in the native android toolchains.
So either you fail to compile for linux, or you fail for android.

The simplest workaround I found to solve this dilemma was to duplicate the module mnit/opengles1.nit and use the GL symbols instead of the GLES ones.
It is ugly, but it should works the time opengles3 is lib-ified in Nit.