summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/voodoo_render.cpp
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2021-07-09 15:18:31 +0200
committer hap <happppp@users.noreply.github.com>2021-07-09 15:18:31 +0200
commiteccd02ff9e841a2d2a82f240b7dce932bf59a6cd (patch)
tree5b5ffd3b02787f0b924e9fcf92d43ad953c43c0f /src/devices/video/voodoo_render.cpp
parent3d9f8d5f1570647a494f8496bc5b5d64007c9af7 (diff)
voodoo: fix compile error
Diffstat (limited to 'src/devices/video/voodoo_render.cpp')
-rw-r--r--src/devices/video/voodoo_render.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/video/voodoo_render.cpp b/src/devices/video/voodoo_render.cpp
index b4b50fe5a68..37ddb4b9998 100644
--- a/src/devices/video/voodoo_render.cpp
+++ b/src/devices/video/voodoo_render.cpp
@@ -454,7 +454,7 @@ public:
{
double recip = double(1ULL << (47 - 39)) / m_w;
sow = s32(m_s * recip);
- tow = tow(m_t * recip);
+ tow = s32(m_t * recip);
oowlog = fast_log2(recip, 56);
}