small change to display list
This commit is contained in:
parent
f02c123001
commit
e0fe72ebb0
@ -147,7 +147,7 @@ public:
|
||||
virtual void begin(duDebugDrawPrimitives prim, float size = 1.0f);
|
||||
virtual void vertex(const float x, const float y, const float z, unsigned int color);
|
||||
virtual void vertex(const float* pos, unsigned int color);
|
||||
virtual void end() {}
|
||||
virtual void end();
|
||||
void clear();
|
||||
void draw(struct duDebugDraw* dd);
|
||||
};
|
||||
|
@ -460,6 +460,10 @@ void duDisplayList::vertex(const float* pos, unsigned int color)
|
||||
vertex(pos[0],pos[1],pos[2],color);
|
||||
}
|
||||
|
||||
void duDisplayList::end()
|
||||
{
|
||||
}
|
||||
|
||||
void duDisplayList::draw(struct duDebugDraw* dd)
|
||||
{
|
||||
if (!m_size)
|
||||
|
Loading…
x
Reference in New Issue
Block a user