Changeset 859


Ignore:
Timestamp:
Aug 24, 2011, 12:42:46 AM (8 years ago)
Author:
sam
Message:

debug: more iOS compilation fixes; GL_VERTEX_ARRAY isn't available.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/debug/quad.cpp

    r856 r859  
    2525namespace lol
    2626{
     27
     28/*
     29 * OpenGL Feature list:
     30 *
     31 * Android and iOS don't have GL_VERTEX_ARRAY.
     32 *
     33 * iOS does vertex buffers using glVertexAttribPointer(), and does not
     34 * support glVertexPointer().
     35 *
     36 * PSGL (on the PS3) does vertex buffers using glVertexPointer(), and
     37 * does not support glVertexAttribPointer().
     38 */
    2739
    2840/*
     
    544556     * Renders an orange square.
    545557     */
    546 #if !defined ANDROID_NDK
     558#if !defined ANDROID_NDK && !defined __APPLE__
    547559    if (!shader[0])
    548560    {
     
    597609     * Renders a static, coloured and tiled pattern.
    598610     */
    599 #if !defined ANDROID_NDK
     611#if !defined ANDROID_NDK && !defined __APPLE__
    600612    if (!shader[0])
    601613#if !defined __CELLOS_LV2__
Note: See TracChangeset for help on using the changeset viewer.