summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-03-20 23:26:28 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-03-20 23:26:28 +0000
commit2dd7568047c7b0af8a7c8a656f1bb6708fb856c6 (patch)
tree42158bdf4b74309ab5c2193f690521d3c9c4111f /src/gui/viewport.cpp
parent70da45eca47e5d7c429b49f5c8ec02a5e2bfb47f (diff)
downloadmana-2dd7568047c7b0af8a7c8a656f1bb6708fb856c6.tar.gz
mana-2dd7568047c7b0af8a7c8a656f1bb6708fb856c6.tar.bz2
mana-2dd7568047c7b0af8a7c8a656f1bb6708fb856c6.tar.xz
mana-2dd7568047c7b0af8a7c8a656f1bb6708fb856c6.zip
Reduced amount of useless logging, calculate nearest power of two in a function
and only do the alpha check in software mode.
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r--src/gui/viewport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index 485f8d47..eb5939fd 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -255,7 +255,7 @@ Viewport::logic()
mouseY / 32 + mCameraY);
mWalkTime = player_node->mWalkTime;
}
-
+
mTargetCursorInRange->update(10);
mTargetCursorOutRange->update(10);
}