Ticket #54236: patch-support-egl.diff

File patch-support-egl.diff, 631 bytes (added by RJVB (René Bertin), 7 years ago)
  • dispatch_common.h

    old new  
    2828#define PLATFORM_HAS_GLX ENABLE_GLX
    2929#define PLATFORM_HAS_WGL 1
    3030#elif defined(__APPLE__)
    31 #define PLATFORM_HAS_EGL 0
     31#define PLATFORM_HAS_EGL 1
    3232#define PLATFORM_HAS_GLX ENABLE_GLX
    3333#define PLATFORM_HAS_WGL 0
    3434#elif defined(ANDROID)
  • configure.ac

    old new  
    108108  ],
    109109
    110110  [darwin*], [
    111     build_egl=no
     111    build_egl=yes
    112112    build_wgl=no
    113113    build_apple=yes
    114114    has_znow=no