From 418753b6a65e983aa45762531370f943e931341e Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Mon, 27 Jul 2020 11:40:47 +0200 Subject: GPU: fix build error due to wrong linkage specification --- source/blender/gpu/GPU_platform.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender') diff --git a/source/blender/gpu/GPU_platform.h b/source/blender/gpu/GPU_platform.h index d9b9ee2a308..104d5ef0ddc 100644 --- a/source/blender/gpu/GPU_platform.h +++ b/source/blender/gpu/GPU_platform.h @@ -27,10 +27,6 @@ #include "BLI_sys_types.h" #include "BLI_utildefines.h" -#ifdef __cplusplus -extern "C" { -#endif - /* GPU platform support */ /* GPU Types */ @@ -66,6 +62,10 @@ typedef enum eGPUSupportLevel { GPU_SUPPORT_LEVEL_UNSUPPORTED, } eGPUSupportLevel; +#ifdef __cplusplus +extern "C" { +#endif + bool GPU_type_matches(eGPUDeviceType device, eGPUOSType os, eGPUDriverType driver); eGPUSupportLevel GPU_platform_support_level(void); const char *GPU_platform_support_level_key(void); -- cgit v1.2.3