Ignore:
Timestamp:
Feb 17, 2013, 7:18:44 PM (7 years ago)
Author:
touky
Message:

easymesh : vertices datas are now stored in a very user-friendly struct. Heavier on datas, though.
vertexbuffer : added TexCoordExt, which is the same as TexCoord but means "use vec4 for TexCoord"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gpu/vertexbuffer.cpp

    r2370 r2426  
    352352            break;
    353353        case VertexUsage::TexCoord:
     354        case VertexUsage::TexCoordExt:
    354355            glEnableClientState(GL_TEXTURE_COORD_ARRAY);
    355356            break;
     
    459460            break;
    460461        case VertexUsage::TexCoord:
     462        case VertexUsage::TexCoordExt:
    461463            glTexCoordPointer(tlut[type_index].size, tlut[type_index].type,
    462464                              stride, (GLvoid const *)(uintptr_t)offset);
Note: See TracChangeset for help on using the changeset viewer.