ptitSeb / gl4es

GL4ES is a OpenGL 2.1/1.5 to GL ES 2.0/1.1 translation library, with support for Pandora, ODroid, OrangePI, CHIP, Raspberry PI, Android, Emscripten and AmigaOS4.
http://ptitseb.github.io/gl4es/
MIT License
694 stars 159 forks source link

Replace "ifndef ANDROID" with "ifndef NOX11" for X11 support in "include/GL/glx.h" #340

Closed truboxl closed 3 years ago

truboxl commented 3 years ago

This change follows https://github.com/ptitSeb/gl4es/blob/c3c172dc098dbd379420a3111b1142c4d7fbddd7/src/glx/utils.h#L4-L7

So it should fix build problems for targets that is:

  1. Android with X11 support (maybe, some day)
  2. Other non X11 platforms that isn't Android