summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/drawd3d.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-05-27 09:03:32 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-05-27 09:03:32 +0200
commit64e16ca8cf6f8f3f63a9a7604153a8c4725a7cf4 (patch)
tree2fbbee881d0f776a829723792eb72feea9bd0061 /src/osd/modules/render/drawd3d.c
parente5caefbfbd7322e38ccfe6e1518efb50b20cef53 (diff)
Cleanups and version bumpmame0162
Diffstat (limited to 'src/osd/modules/render/drawd3d.c')
-rw-r--r--src/osd/modules/render/drawd3d.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/osd/modules/render/drawd3d.c b/src/osd/modules/render/drawd3d.c
index 93c316c347f..0b1caaeee2a 100644
--- a/src/osd/modules/render/drawd3d.c
+++ b/src/osd/modules/render/drawd3d.c
@@ -2132,7 +2132,7 @@ void texture_info::compute_size_subroutine(int texwidth, int texheight, int* p_w
{
finalheight *= 2;
}
-
+
*p_width = finalwidth;
*p_height = finalheight;
}
@@ -2148,7 +2148,7 @@ void texture_info::compute_size(int texwidth, int texheight)
m_xborderpix = 0;
m_yborderpix = 0;
-
+
// if we're not wrapping, add a 1-2 pixel border on all sides
if (ENABLE_BORDER_PIX && !(m_flags & PRIMFLAG_TEXWRAP_MASK))
{
@@ -2160,7 +2160,7 @@ void texture_info::compute_size(int texwidth, int texheight)
// compute final texture size
finalwidth += 2 * m_xborderpix;
finalheight += 2 * m_yborderpix;
-
+
compute_size_subroutine(finalwidth, finalheight, &finalwidth, &finalheight);
// if we added pixels for the border, and that just barely pushed us over, take it back
@@ -2171,7 +2171,7 @@ void texture_info::compute_size(int texwidth, int texheight)
m_xborderpix = 0;
m_yborderpix = 0;
-
+
compute_size_subroutine(finalwidth, finalheight, &finalwidth, &finalheight);
}