Ignore:
Timestamp:
Oct 1, 2012, 1:49:53 AM (8 years ago)
Author:
sam
Message:

gpu: add support for triangle strips and fans, and change the DrawElement
calls so that they take a number of vertices or indexes, not elements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tutorial/11_fractal.cpp

    r1921 r1963  
    579579#else
    580580#endif
    581         m_vdecl->DrawElements(MeshPrimitive::Triangles, 0, 2);
     581        m_vdecl->DrawElements(MeshPrimitive::Triangles, 0, 6);
    582582        m_vdecl->Unbind();
    583583    }
Note: See TracChangeset for help on using the changeset viewer.