summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorSoren Jorvang <soren.jorvang@gmail.com>2011-01-31 01:53:57 +0000
committerSoren Jorvang <soren.jorvang@gmail.com>2011-01-31 01:53:57 +0000
commit18bb65b3002fb3ad3ba277f5207da8741b8fd089 (patch)
treedc693d492e12fdf9be2cd4acf42f6b5ce6d201db /Source/Core/VideoCommon
parentfbaf9659958cd6d8c0df6b0c217f6e60f57f9d77 (diff)
Fix OS X build.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6997 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/Src/NativeVertexFormat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/NativeVertexFormat.h b/Source/Core/VideoCommon/Src/NativeVertexFormat.h
index 8bd522e482..1c873365fd 100644
--- a/Source/Core/VideoCommon/Src/NativeVertexFormat.h
+++ b/Source/Core/VideoCommon/Src/NativeVertexFormat.h
@@ -54,7 +54,12 @@ enum {
VB_HAS_UVTEXMTXSHIFT=13,
};
+#ifdef WIN32
#define LOADERDECL __cdecl
+#else
+#define LOADERDECL
+#endif
+
typedef void (LOADERDECL *TPipelineFunction)();
enum VarType