summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilebuf.h
diff options
context:
space:
mode:
authorIxtli <cg@325i.org>2010-03-06 21:01:05 +0900
committerEnne Walker <ennewalker@users.sourceforge.net>2010-04-24 10:19:41 -0400
commit39c67a47583ff614d09aa7ed15cce6595d50ebd8 (patch)
tree1096d02f16ada38fb3cc0533f723d926d63b1429 /crawl-ref/source/tilebuf.h
parent780665a3fb385d397c6f3e92cffee89df3ff94db (diff)
downloadcrawl-ref-39c67a47583ff614d09aa7ed15cce6595d50ebd8.tar.gz
crawl-ref-39c67a47583ff614d09aa7ed15cce6595d50ebd8.zip
Added GLPrimitive to glwrapper, condenced all vert-drawing methods to drawGLPrimitives and then updated tilebuf, font, reg, and sdl to use it propperly.
As well, tilebuf's VertBuffer::draw() method needed to be changed to allow passing to pre-render transformations (used in submerged tile rendering.)
Diffstat (limited to 'crawl-ref/source/tilebuf.h')
-rw-r--r--crawl-ref/source/tilebuf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/tilebuf.h b/crawl-ref/source/tilebuf.h
index b7089a0edb..bbd3ae5ae1 100644
--- a/crawl-ref/source/tilebuf.h
+++ b/crawl-ref/source/tilebuf.h
@@ -87,7 +87,7 @@ public:
// Vertices are fat, so to avoid an extra copy of all the data members,
// pre-construct the vertex and return a reference to it.
V& get_next();
- void draw() const;
+ void draw(GLW_3VF *pt, GLW_3VF *ps) const;
GLState &state() { return m_state; }