Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-11-11 19:11:57 +0000
committerStijn Buys <ingar@osirion.org>2008-11-11 19:11:57 +0000
commit773c1bafe0f1d8b706e0f72e235f8466e7a9ccf5 (patch)
treeab4b3058f436a4e4c54618f132a9179ee40e330c /src/ui/ui.cc
parent3082cb197fb6af7d069f9ad211ff6ea5657d924a (diff)
cleanups
Diffstat (limited to 'src/ui/ui.cc')
-rw-r--r--src/ui/ui.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/ui.cc b/src/ui/ui.cc
index 7d57ce0..bc6f544 100644
--- a/src/ui/ui.cc
+++ b/src/ui/ui.cc
@@ -597,19 +597,19 @@ void UI::draw_pointer()
texture.append(mouse_pointer_bitmap);
if (mouse_pointer_animated) {
- render::gl::push();
- render::gl::translate(mouse_cursor.x, mouse_cursor.y, 0);
+ gl::push();
+ gl::translate(mouse_cursor.x, mouse_cursor.y, 0);
float angle = core::application()->time()* 0.75f - floorf(core::application()->time() * 0.75f);
angle *= 360.0f;
- render::gl::rotate(angle, math::Vector3f(0, 0, 1.0f));
- render::gl::translate(-mouse_cursor.x, -mouse_cursor.y, 0);
+ gl::rotate(angle, math::Vector3f(0, 0, 1.0f));
+ gl::translate(-mouse_cursor.x, -mouse_cursor.y, 0);
}
paint::bitmap(pos, s, texture);
if (mouse_pointer_animated) {
- render::gl::pop();
+ gl::pop();
}
}