Ticket #48622: osmesa.patch.diff

File osmesa.patch.diff, 733 bytes (added by Schamschula (Marius Schamschula), 9 years ago)
  • libinterp/dldfcn/__osmesa_print__.cc

    diff -Naur a/libinterp/dldfcn/__osmesa_print__.cc b/libinterp/dldfcn/__osmesa_print__.cc
     
    2727#include <config.h>
    2828#endif
    2929
     30#if defined (HAVE_OSMESA_H)
     31#include "osmesa.h"
     32#elif defined (HAVE_GL_OSMESA_H)
     33#include "GL/osmesa.h"
     34#endif
     35
    3036#include "oct-locbuf.h"
    3137#include "unwind-prot.h"
    3238
     
    3642#include "graphics.h"
    3743#include "gripes.h"
    3844
    39 #if defined (HAVE_OSMESA_H)
    40 #include "osmesa.h"
    41 #elif defined (HAVE_GL_OSMESA_H)
    42 #include "GL/osmesa.h"
    43 #endif
    44 
    4545#if defined (HAVE_OSMESA) && defined (HAVE_OPENGL)
    4646static void
    4747close_fcn (FILE *f)