Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2020-07-27 12:40:47 +0300
committerJacques Lucke <jacques@blender.org>2020-07-27 12:40:47 +0300
commit418753b6a65e983aa45762531370f943e931341e (patch)
treeac4685a2ab2df32ff6a29953228b83dc4269a2bb /source/blender/gpu/GPU_platform.h
parent382b9007f8f3627bf27cf708b744e8da7f2c8a14 (diff)
GPU: fix build error due to wrong linkage specification
Diffstat (limited to 'source/blender/gpu/GPU_platform.h')
-rw-r--r--source/blender/gpu/GPU_platform.h8
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);