From 0305435edd9d6de3a2b245d60bcbf339d6dda2ff Mon Sep 17 00:00:00 2001 From: Tony Wasserka Date: Thu, 4 Dec 2014 20:42:53 +0100 Subject: Pica: Re-enable command names on MSVC. The affected code is no longer limited by compiler support on that platform. --- src/video_core/pica.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/video_core/pica.h') diff --git a/src/video_core/pica.h b/src/video_core/pica.h index b463a32e..e7ca3897 100644 --- a/src/video_core/pica.h +++ b/src/video_core/pica.h @@ -536,10 +536,6 @@ struct Regs { static std::string GetCommandName(int index) { std::map map; - // TODO: MSVC does not support using offsetof() on non-static data members even though this - // is technically allowed since C++11. Hence, this functionality is disabled until - // MSVC properly supports it. - #ifndef _MSC_VER Regs regs; #define ADD_FIELD(name) \ do { \ @@ -576,7 +572,6 @@ struct Regs { ADD_FIELD(vs_swizzle_patterns); #undef ADD_FIELD - #endif // _MSC_VER // Return empty string if no match is found return map[index]; -- cgit v1.2.3