Ignore:
Timestamp:
Apr 14, 2012, 12:03:12 PM (9 years ago)
Author:
sam
Message:

gpu: fix compilation errors and warnings in the vertex declaration code.

File:
1 edited

Legend:

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

    r1224 r1225  
    2121{
    2222
     23/* For some reason defining this in the .h leads to duplicate definitions
     24 * between the executable and the static library. */
     25template<> void VertexBuffer::AddStream<void>(int n, int index)
     26{
     27    (void)index;
     28    m_streams[n].size = 0;
     29}
     30
    2331void VertexBuffer::Initialize()
    2432{
    2533#if defined _XBOX || defined USE_D3D9
    2634   
    27 #endif   
     35#endif
    2836}
    2937
Note: See TracChangeset for help on using the changeset viewer.