X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=GL%2Fglesinterface.h;h=e8d42daea83648b32b6ca58e4ed672bca8a0aaf8;hb=4f937221b421f3c63856af69e4d620a7f8b0a6b0;hp=e6e2d45e9eda468487e71f584ae68ea6055f010e;hpb=52e0d927c7853d6d5c0a5828d954e1e7754c78ed;p=nanogl.git diff --git a/GL/glesinterface.h b/GL/glesinterface.h index e6e2d45..e8d42da 100644 --- a/GL/glesinterface.h +++ b/GL/glesinterface.h @@ -28,11 +28,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #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;