From f1bc96ad090eff0f7a5c6e3d677d0634888994ac Mon Sep 17 00:00:00 2001 From: oy Date: Fri, 29 Oct 2010 23:49:33 +0200 Subject: [PATCH] fixed crashes with the font. closes #178 --- src/engine/client/text.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/engine/client/text.cpp b/src/engine/client/text.cpp index 79f95b305..ddc9429fa 100644 --- a/src/engine/client/text.cpp +++ b/src/engine/client/text.cpp @@ -247,9 +247,9 @@ class CTextRender : public IEngineTextRender m_FontTextureFormat, GL_UNSIGNED_BYTE, pData); } - // 8k of data used for rendering glyphs - unsigned char ms_aGlyphData[(4096/64) * (4096/64)]; - unsigned char ms_aGlyphDataOutlined[(4096/64) * (4096/64)]; + // 32k of data used for rendering glyphs + unsigned char ms_aGlyphData[(1024/8) * (1024/8)]; + unsigned char ms_aGlyphDataOutlined[(1024/8) * (1024/8)]; int GetSlot(CFontSizeData *pSizeData) {