From 0eb989431fb839daa493fa025a60aafbe3da37ca Mon Sep 17 00:00:00 2001 From: hrydgard Date: Mon, 31 Aug 2009 21:18:36 +0000 Subject: [PATCH] D3D: Fix a lot of bad colors git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4122 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_VideoDX9/Src/NativeVertexFormat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Plugins/Plugin_VideoDX9/Src/NativeVertexFormat.cpp b/Source/Plugins/Plugin_VideoDX9/Src/NativeVertexFormat.cpp index 911f080b6d..d261c899bb 100644 --- a/Source/Plugins/Plugin_VideoDX9/Src/NativeVertexFormat.cpp +++ b/Source/Plugins/Plugin_VideoDX9/Src/NativeVertexFormat.cpp @@ -69,7 +69,7 @@ D3DDECLTYPE VarToD3D(VarType t, int size) D3DDECLTYPE_UNUSED, D3DDECLTYPE_UNUSED, D3DDECLTYPE_UNUSED, D3DDECLTYPE_UNUSED, D3DDECLTYPE_FLOAT3, }; static const D3DDECLTYPE lookup4[5] = { - D3DDECLTYPE_UBYTE4, D3DDECLTYPE_UBYTE4, D3DDECLTYPE_SHORT4N, D3DDECLTYPE_USHORT4N, D3DDECLTYPE_FLOAT4, + D3DDECLTYPE_UBYTE4N, D3DDECLTYPE_UBYTE4N, D3DDECLTYPE_SHORT4N, D3DDECLTYPE_USHORT4N, D3DDECLTYPE_FLOAT4, }; D3DDECLTYPE retval = D3DDECLTYPE_UNUSED; switch (size) {