Ignore:
Timestamp:
Nov 17, 2012, 2:24:47 PM (7 years ago)
Author:
sam
Message:

gpu: remove some crap from vertexbuffer.cpp and allow for
empty vertex declarations even though many video card
drivers do not support them — and they should.

File:
1 edited

Legend:

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

    r1963 r2082  
    172172{
    173173public:
    174     VertexDeclaration(VertexStreamBase const &s1,
     174    VertexDeclaration(VertexStreamBase const &s1 = VertexStreamBase::Empty,
    175175                      VertexStreamBase const &s2 = VertexStreamBase::Empty,
    176176                      VertexStreamBase const &s3 = VertexStreamBase::Empty,
Note: See TracChangeset for help on using the changeset viewer.