Ticket #52811: patch-include-GL-mesa_glinterop_h.diff

File patch-include-GL-mesa_glinterop_h.diff, 459 bytes (added by arboz, 8 years ago)

Patch to avoid duplicate declaration of 'GLXContext' error

  • mesa-12.0.1/include/GL/mesa_glinterop.h

    old new  
    5858#endif
    5959
    6060/* Forward declarations to avoid inclusion of GL/glx.h */
     61#ifndef APPLE_GLX_CONTEXT_H
    6162typedef struct _XDisplay Display;
    6263typedef struct __GLXcontextRec *GLXContext;
     64#endif
    6365
    6466/* Forward declarations to avoid inclusion of EGL/egl.h */
    6567typedef void *EGLDisplay;