summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilebuf.cc
diff options
context:
space:
mode:
authorEnne Walker <enne.walker@gmail.com>2010-05-14 13:09:46 -0400
committerEnne Walker <enne.walker@gmail.com>2010-05-14 18:18:54 -0400
commit46bd9b7116d87b6ebd461b75deefd767fa96895b (patch)
tree338f925084a9215c0f44dfd0d44eb766ec9d847f /crawl-ref/source/tilebuf.cc
parenta9d79ac529bee0a27b15aaec8124ac324fc21389 (diff)
downloadcrawl-ref-46bd9b7116d87b6ebd461b75deefd767fa96895b.tar.gz
crawl-ref-46bd9b7116d87b6ebd461b75deefd767fa96895b.zip
Clean up unions in glwrapper.h.
Diffstat (limited to 'crawl-ref/source/tilebuf.cc')
-rw-r--r--crawl-ref/source/tilebuf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/tilebuf.cc b/crawl-ref/source/tilebuf.cc
index f211dfd4df..ca954982c4 100644
--- a/crawl-ref/source/tilebuf.cc
+++ b/crawl-ref/source/tilebuf.cc
@@ -373,7 +373,7 @@ void LineBuffer::add(float pos_sx, float pos_sy, float pos_ex, float pos_ey,
const VColour &col)
{
GLWRect rect(pos_sx, pos_sy, pos_ex, pos_ey);
- rect.set_col(&col, &col);
+ rect.set_col(&col, &col, &col, &col);
add_primitive(rect);
}