summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fontwrapper-ft.cc
diff options
context:
space:
mode:
authorEnne Walker <enne.walker@gmail.com>2010-05-09 20:25:09 -0400
committerEnne Walker <enne.walker@gmail.com>2010-05-14 18:18:52 -0400
commit63fe4a8f506ffe4462193235182582d66f50ef37 (patch)
treee844be5a6d020d9caabff9aee4faa74d5b37e418 /crawl-ref/source/fontwrapper-ft.cc
parent8feb08d178c1c2565566c7d17cfcdd486b63cb73 (diff)
downloadcrawl-ref-63fe4a8f506ffe4462193235182582d66f50ef37.tar.gz
crawl-ref-63fe4a8f506ffe4462193235182582d66f50ef37.zip
Remove unused 'flush' option on buffer drawing.
It's not really used anywhere at this point, and it's better to call clear explicitly when the draw buffer needs to be refilled.
Diffstat (limited to 'crawl-ref/source/fontwrapper-ft.cc')
-rw-r--r--crawl-ref/source/fontwrapper-ft.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/fontwrapper-ft.cc b/crawl-ref/source/fontwrapper-ft.cc
index 1d66255c88..63f39cdb29 100644
--- a/crawl-ref/source/fontwrapper-ft.cc
+++ b/crawl-ref/source/fontwrapper-ft.cc
@@ -330,7 +330,7 @@ void FTFontWrapper::render_textblock(unsigned int x_pos, unsigned int y_pos,
trans.x++;
trans.y++;
glmanager->set_transform(&trans);
- buf->draw(NULL, NULL, true);
+ buf->draw();
trans.x--;
trans.y--;