diff options
| author | BeaR <cinaera@web.de> | 2012-10-14 14:04:48 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2013-02-24 18:23:06 +0100 |
| commit | d58afefaae99f239151483025e516e8da5b6dd17 (patch) | |
| tree | 3af78094b1cbb5a9b8824aecf44e1b7e742d3181 /src/engine/graphics.h | |
| parent | 0be51ca98aec2f44cd01a5bf7c3a78fdfd78ea3d (diff) | |
| download | zcatch-d58afefaae99f239151483025e516e8da5b6dd17.tar.gz zcatch-d58afefaae99f239151483025e516e8da5b6dd17.zip | |
Some graphic batching:
Speed up for displaying debugtext and envelopepreview (This reduces the performance hit especially for the 'Show Info' mode in the editor) Conflicts: src/engine/client/client.cpp src/game/editor/editor.cpp src/game/editor/editor.h
Diffstat (limited to 'src/engine/graphics.h')
| -rw-r--r-- | src/engine/graphics.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/graphics.h b/src/engine/graphics.h index 7f272497..a2fe4741 100644 --- a/src/engine/graphics.h +++ b/src/engine/graphics.h @@ -120,7 +120,7 @@ public: : m_X0(x0), m_Y0(y0), m_X1(x1), m_Y1(y1), m_X2(x2), m_Y2(y2), m_X3(x3), m_Y3(y3) {} }; virtual void QuadsDrawFreeform(const CFreeformItem *pArray, int Num) = 0; - virtual void QuadsText(float x, float y, float Size, float r, float g, float b, float a, const char *pText) = 0; + virtual void QuadsText(float x, float y, float Size, const char *pText) = 0; struct CColorVertex { |