aboutsummaryrefslogtreecommitdiff
path: root/src/client/hud.cpp
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2021-01-22 15:09:26 +0000
committerGitHub <noreply@github.com>2021-01-22 15:09:26 +0000
commit4c76239818f5159314f30883f98b977d30aaa26c (patch)
tree42d2fc37b1e5ed2ad1c450a5547fce2ddec75b65 /src/client/hud.cpp
parent67aa75d444d0e5cfff2728dbbcffd6f95b2fe88b (diff)
downloadminetest-4c76239818f5159314f30883f98b977d30aaa26c.tar.gz
minetest-4c76239818f5159314f30883f98b977d30aaa26c.tar.bz2
minetest-4c76239818f5159314f30883f98b977d30aaa26c.zip
Remove dead code (#10845)
Diffstat (limited to 'src/client/hud.cpp')
-rw-r--r--src/client/hud.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/client/hud.cpp b/src/client/hud.cpp
index e956c2738..46736b325 100644
--- a/src/client/hud.cpp
+++ b/src/client/hud.cpp
@@ -571,8 +571,6 @@ void Hud::drawCompassTranslate(HudElement *e, video::ITexture *texture,
void Hud::drawCompassRotate(HudElement *e, video::ITexture *texture,
const core::rect<s32> &rect, int angle)
{
- core::dimension2di imgsize(texture->getOriginalSize());
-
core::rect<s32> oldViewPort = driver->getViewPort();
core::matrix4 oldProjMat = driver->getTransform(video::ETS_PROJECTION);
core::matrix4 oldViewMat = driver->getTransform(video::ETS_VIEW);