Bitmap Text speedup

This commit is contained in:
Chris Danford
2002-02-02 07:42:52 +00:00
parent 29f886e679
commit 13afccfe10
2 changed files with 132 additions and 206 deletions
+3 -2
View File
@@ -25,6 +25,7 @@ protected:
public:
BitmapText();
~BitmapText();
virtual void RenderPrimitives();
@@ -47,8 +48,8 @@ protected:
LPDIRECT3DVERTEXBUFFER8 m_pVB; // our vertex buffer only needs to be rebuilt when the text changes
int m_iNumVerticies;
RebuildVertexBuffer(); // this should be called when the
int m_iNumV; // number of verticies used in the vertex buffer
void RebuildVertexBuffer(); // this should be called when the text changes
CStringArray m_sTextLines;
};