diff options
author | Ixtli <cg@325i.org> | 2010-03-11 16:50:42 +0900 |
---|---|---|
committer | Enne Walker <ennewalker@users.sourceforge.net> | 2010-04-24 10:19:43 -0400 |
commit | b91812a7a4b1b3bf1f8d47e382b9ba3327ca9cba (patch) | |
tree | 36589bb8a96275923eddc2b8703b2b6746ed71b0 /crawl-ref/source/tilefont.cc | |
parent | 38e5cb7bf0c123ed0ae0442684a63442a354e67b (diff) | |
download | crawl-ref-b91812a7a4b1b3bf1f8d47e382b9ba3327ca9cba.tar.gz crawl-ref-b91812a7a4b1b3bf1f8d47e382b9ba3327ca9cba.zip |
Prettied up glwrapper set_transform
Diffstat (limited to 'crawl-ref/source/tilefont.cc')
-rw-r--r-- | crawl-ref/source/tilefont.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/tilefont.cc b/crawl-ref/source/tilefont.cc index 08a1abb5a7..971d00e75b 100644 --- a/crawl-ref/source/tilefont.cc +++ b/crawl-ref/source/tilefont.cc @@ -399,7 +399,7 @@ void FTFont::render_textblock(unsigned int x_pos, unsigned int y_pos, trans.x++; trans.y++; - GLStateManager::set_transform(&trans, NULL); + GLStateManager::set_transform(&trans); GLStateManager::draw_primitive(prim); trans.x--; trans.y--; @@ -413,7 +413,7 @@ void FTFont::render_textblock(unsigned int x_pos, unsigned int y_pos, state.array_colour = true; GLStateManager::set(state); prim.colour_pointer = &verts[0].r; - GLStateManager::set_transform(&trans, NULL); + GLStateManager::set_transform(&trans); GLStateManager::draw_primitive(prim); state.array_colour = false; GLStateManager::set(state); @@ -451,7 +451,7 @@ static void _draw_box(int x_pos, int y_pos, float width, float height, verts[3].y = verts[0].y; // Load identity matrix - GLStateManager::set_transform(NULL, NULL); + GLStateManager::set_transform(); GLState state; state.array_vertex = true; |