summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar Ted Green <tedgreen99@users.noreply.github.com>2020-02-27 17:34:49 -0700
committerGravatarGravatar Ted Green <tedgreen99@users.noreply.github.com>2020-02-27 17:34:49 -0700
commit7c795051cb5ab858db8ad3b6386a5772c35d84c7 (patch) (github)
treee8ebf42fd8401e605eb4bd8e395a66747bb90c58
parent1f75853abc1d2a6db801b1b2817f4affe1cb66ff (diff)
downloadmame-voodoo_directx11.tar.bz2
mame-voodoo_directx11.zip
Comment out unused variable and add emu.h to appease VSvoodoo_directx11
-rw-r--r--src/devices/video/voodoo_gpu.cpp3
1 files changed, 2 insertions, 1 deletions
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 <sys/types.h>
#include <sys/stat.h>
@@ -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;