Changeset 782


Ignore:
Timestamp:
Jun 14, 2011, 11:13:44 PM (8 years ago)
Author:
sam
Message:

build: check for glBegin, which we won't end up using anyway.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r745 r782  
    9393fi
    9494
     95dnl Poor man's GL feature detection.
     96save_LIBS="${LIBS}"
     97LIBS="${LIBS} ${GL_LIBS} ${GLES2_LIBS}"
     98AC_CHECK_FUNCS(glBegin)
     99LIBS="${save_LIBS}"
     100
    95101dnl Use SDL? (always required)
    96102ac_cv_my_have_sdl="yes"
  • trunk/src/debugquad.cpp

    r779 r782  
    389389                                  f2, f4, f4, f1, f1, f3 };
    390390
     391#if defined HAVE_GLBEGIN
    391392    /* Quad #1: simple glBegin program */
    392393    glColor3f(0.8f, 0.5f, 0.2f);
     
    506507
    507508    Advance();
    508 
    509     /* Quad #7: simple vertex buffer */
     509#endif
     510
     511    /* Quad #7: simple vertex buffer, no shader */
    510512    GLfloat const vertices1[] = { data->aa.x, data->bb.y, 0.0f,
    511513                                  data->bb.x, data->bb.y, 0.0f,
Note: See TracChangeset for help on using the changeset viewer.