Browse Source

gl2shim: add SOFTFP_LINK support for gles3compat

master
mittorn 1 year ago committed by Alibek Omarov
parent
commit
cb12af69ed
  1. 4
      ref/gl/gl_export.h

4
ref/gl/gl_export.h

@ -28,6 +28,10 @@ GNU General Public License for more details.
#define XASH_GL_STATIC #define XASH_GL_STATIC
#define REF_GL_KEEP_MANGLED_FUNCTIONS #define REF_GL_KEEP_MANGLED_FUNCTIONS
#elif defined XASH_GLES3COMPAT #elif defined XASH_GLES3COMPAT
#ifdef SOFTFP_LINK
#undef APIENTRY
#define APIENTRY __attribute__((pcs("aapcs")))
#endif
#define XASH_GLES #define XASH_GLES
#endif #endif

Loading…
Cancel
Save