diff options
author | Jacques Lucke <jacques@blender.org> | 2020-07-27 12:40:47 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-07-27 12:40:47 +0300 |
commit | 418753b6a65e983aa45762531370f943e931341e (patch) | |
tree | ac4685a2ab2df32ff6a29953228b83dc4269a2bb /source/blender/gpu | |
parent | 382b9007f8f3627bf27cf708b744e8da7f2c8a14 (diff) |
GPU: fix build error due to wrong linkage specification
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/GPU_platform.h | 8 |
1 files changed, 4 insertions, 4 deletions
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); |