diff --git a/GL/glesinterface.h b/GL/glesinterface.h
index e6e2d45e9eda468487e71f584ae68ea6055f010e..e8d42daea83648b32b6ca58e4ed672bca8a0aaf8 100644 (file)
--- a/GL/glesinterface.h
+++ b/GL/glesinterface.h
#endif
#endif
+#ifdef SOFTFP_LINK
#define S __attribute__((pcs("aapcs")))
+#else
+#define S
+#endif
struct GlESInterface
{
-
int (*eglChooseConfig) (int dpy, const int *attrib_list, int *configs, int config_size, int *num_config) S;
int (*eglCopyBuffers) (int dpy, int surface, void* target) S;
int (*eglCreateContext) (int dpy, int config, int share_list, const int *attrib_list) S;