Ignore:
Timestamp:
Aug 1, 2012, 1:50:59 PM (8 years ago)
Author:
sam
Message:

gpu: only unbind vertex attribs that we actually bound.

File:
1 edited

Legend:

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

    r1468 r1688  
    124124};
    125125
     126/* Specialise this template for "void" to act as a NOP */
    126127template<>
    127128inline void VertexStreamBase::AddStream<void>(int n, VertexUsage usage)
     
    199200    void AddStream(VertexStreamBase const &);
    200201
    201     struct { uint8_t stream_type, index, usage, size; } m_streams[12 + 1];
     202    struct { uint8_t stream_type, index, usage, size; int reg; } m_streams[12 + 1];
    202203    int m_count;
    203204
Note: See TracChangeset for help on using the changeset viewer.