Ticket #61943: use-macports-gl.patch

File use-macports-gl.patch, 413 bytes (added by larb0b (Larkin), 4 years ago)

Patch changing the default GL dylib from XQuartz' to MacPorts'

  • src/video/x11/SDL_x11opengl.c

    old new  
    3939 */
    4040#define DEFAULT_OPENGL  "libGL.so"
    4141#elif defined(__MACOSX__)
    42 #define DEFAULT_OPENGL  "/opt/X11/lib/libGL.1.dylib"
     42#define DEFAULT_OPENGL  "/opt/local/lib/libGL.1.dylib"
    4343#elif defined(__QNXNTO__)
    4444#define DEFAULT_OPENGL  "libGL.so.3"
    4545#else