Ignore:
Timestamp:
Sep 19, 2011, 1:32:18 AM (8 years ago)
Author:
sam
Message:

osx: link with the proper OpenGL libraries on OS X.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gradient.cpp

    r861 r960  
    3434    Shader *shader;
    3535    GLuint bufs[2];
    36 #if defined HAVE_GL_2X
     36#if defined HAVE_GL_2X && !defined __APPLE__
    3737    GLuint vaos[1];
    3838#endif
     
    155155#if !defined __CELLOS_LV2__
    156156        glGenBuffers(2, data->bufs);
    157 #   if defined HAVE_GL_2X
     157#   if defined HAVE_GL_2X && !defined __APPLE__
    158158        glGenVertexArrays(1, data->vaos);
    159159#   endif
     
    196196    /* Bind vertex, color and texture coordinate buffers */
    197197#if !defined __CELLOS_LV2__
    198 #   if defined HAVE_GL_2X
     198#   if defined HAVE_GL_2X && !defined __APPLE__
    199199    glBindVertexArray(data->vaos[0]);
    200200#   endif
     
    223223
    224224#if !defined __CELLOS_LV2__
    225 #   if defined HAVE_GL_2X
     225#   if defined HAVE_GL_2X && !defined __APPLE__
    226226    glBindVertexArray(0);
    227227#   endif
Note: See TracChangeset for help on using the changeset viewer.