From 773c1bafe0f1d8b706e0f72e235f8466e7a9ccf5 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 11 Nov 2008 19:11:57 +0000 Subject: cleanups --- src/ui/ui.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/ui/ui.cc') 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(); } } -- cgit v1.2.3