gl2shim: add SOFTFP_LINK support for gles3compat

This commit is contained in:
mittorn 2023-11-01 21:24:47 +03:00 committed by Alibek Omarov
parent e82050a4bc
commit cb12af69ed
1 changed files with 4 additions and 0 deletions

View File

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