summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/glwrapper.h
diff options
context:
space:
mode:
authorIxtli <cg@325i.org>2010-03-11 16:50:42 +0900
committerEnne Walker <ennewalker@users.sourceforge.net>2010-04-24 10:19:43 -0400
commitb91812a7a4b1b3bf1f8d47e382b9ba3327ca9cba (patch)
tree36589bb8a96275923eddc2b8703b2b6746ed71b0 /crawl-ref/source/glwrapper.h
parent38e5cb7bf0c123ed0ae0442684a63442a354e67b (diff)
downloadcrawl-ref-b91812a7a4b1b3bf1f8d47e382b9ba3327ca9cba.tar.gz
crawl-ref-b91812a7a4b1b3bf1f8d47e382b9ba3327ca9cba.zip
Prettied up glwrapper set_transform
Diffstat (limited to 'crawl-ref/source/glwrapper.h')
-rw-r--r--crawl-ref/source/glwrapper.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/glwrapper.h b/crawl-ref/source/glwrapper.h
index 3244ced304..77c4e8cdb1 100644
--- a/crawl-ref/source/glwrapper.h
+++ b/crawl-ref/source/glwrapper.h
@@ -113,7 +113,8 @@ public:
static void pixelstore_unpack_alignment(unsigned int bpp);
static void reset_view_for_redraw(float x, float y);
static void reset_view_for_resize(coord_def &m_windowsz);
- static void set_transform(const GLW_3VF *trans, const GLW_3VF *scale);
+ static void set_transform( const GLW_3VF *trans = NULL,
+ const GLW_3VF *scale = NULL);
static void reset_transform();
static void set_current_color(GLW_3VF &color);
static void set_current_color(GLW_4VF &color);