Signed-off-by: Jean Privat <jean@pryen.org>
# limitations under the License.
# OpenGL ES1 general support (most of it)
-module opengles1 is pkgconfig("glesv1_cm", "x11", "egl")
+module opengles1 is pkgconfig("glesv1_cm", "egl")
import mnit_display
in "C header" `{
#include <EGL/egl.h>
#include <GLES/gl.h>
- #define GL_GLEXT_PROTOTYPES 1
- #include <GLES/glext.h>
- #include <errno.h>
EGLDisplay mnit_display;
EGLSurface mnit_surface;
# See the License for the specific language governing permissions and
# limitations under the License.
-module linux_opengles1
+module linux_opengles1 is pkgconfig("x11")
import mnit::opengles1