summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/glwrapper.h
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/glwrapper.h
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/glwrapper.h')
-rw-r--r--crawl-ref/source/glwrapper.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/glwrapper.h b/crawl-ref/source/glwrapper.h
index 8d44225d3f..dc5fc6e18c 100644
--- a/crawl-ref/source/glwrapper.h
+++ b/crawl-ref/source/glwrapper.h
@@ -251,8 +251,7 @@ public:
virtual void push(const GLWRect &rect) = 0;
// Draw the buffer
- virtual void draw(GLW_3VF *pt = NULL, GLW_3VF *ps = NULL,
- bool flush = false) = 0;
+ virtual void draw(GLW_3VF *pt = NULL, GLW_3VF *ps = NULL) = 0;
// Manipulate state
virtual void clear() = 0;