From 7c795051cb5ab858db8ad3b6386a5772c35d84c7 Mon Sep 17 00:00:00 2001 From: Ted Green Date: Thu, 27 Feb 2020 17:34:49 -0700 Subject: Comment out unused variable and add emu.h to appease VS --- src/devices/video/voodoo_gpu.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/devices/video/voodoo_gpu.cpp b/src/devices/video/voodoo_gpu.cpp index 8a3add9f357..78a45adbdd1 100644 --- a/src/devices/video/voodoo_gpu.cpp +++ b/src/devices/video/voodoo_gpu.cpp @@ -5,6 +5,7 @@ // 3dfx Voodoo Graphics acceleration using DirectX 11 // +#include "emu.h" #include "voodoo_gpu.h" #include #include @@ -1005,7 +1006,7 @@ void voodoo_gpu::UpdateAlphaTest() void voodoo_gpu::UpdateColorCtrl() { - Color_Ctrl_Struct newCtrl; + //Color_Ctrl_Struct newCtrl; float r, g, b, a; a = float((m_regColor0 >> 24) & 0xff) / 255.0f; -- cgit v1.2.3