summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/glwrapper-ogl.h
diff options
context:
space:
mode:
authorEnne Walker <enne.walker@gmail.com>2010-05-14 15:46:33 -0400
committerEnne Walker <enne.walker@gmail.com>2010-05-14 18:18:55 -0400
commit41576b825cdd678e29b26753a438f55a48b5c8f9 (patch)
tree34f7bf95cc64a339b9d34765c98631722a94c9e3 /crawl-ref/source/glwrapper-ogl.h
parent39dd31c724d8e2eeb6cdb479da2cff7c8fa8f5c2 (diff)
downloadcrawl-ref-41576b825cdd678e29b26753a438f55a48b5c8f9.tar.gz
crawl-ref-41576b825cdd678e29b26753a438f55a48b5c8f9.zip
Renaming struct GLWRect to be class GLWPrim.
Diffstat (limited to 'crawl-ref/source/glwrapper-ogl.h')
-rw-r--r--crawl-ref/source/glwrapper-ogl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/glwrapper-ogl.h b/crawl-ref/source/glwrapper-ogl.h
index 596b2da0cc..a7902b2dc4 100644
--- a/crawl-ref/source/glwrapper-ogl.h
+++ b/crawl-ref/source/glwrapper-ogl.h
@@ -39,15 +39,15 @@ public:
virtual const char *print_statistics() const;
virtual unsigned int size() const;
- virtual void add(const GLWRect &rect);
+ virtual void add(const GLWPrim &rect);
virtual void draw(const GLState &state, GLW_3VF *pt = NULL,
GLW_3VF *ps = NULL);
virtual void clear();
protected:
// Helper methods for adding specific primitives.
- void add_rect(const GLWRect &rect);
- void add_line(const GLWRect &rect);
+ void add_rect(const GLWPrim &rect);
+ void add_line(const GLWPrim &rect);
drawing_modes m_prim_type;
bool m_texture_verts;