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:
authorClément Foucault <foucault.clem@gmail.com>2020-07-25 19:41:55 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-07-26 18:28:48 +0300
commitcc7d5e1fe68470198fd6234f0518a9be8514656e (patch)
tree535ea1e800d4ee337d231ae3d400930d094c270f /source/blender/gpu/GPU_platform.h
parentc276ef61d4ac52d40bbfc3fc82b84ed31fced49e (diff)
GPU: Move gpu_platform.c to C++
Diffstat (limited to 'source/blender/gpu/GPU_platform.h')
-rw-r--r--source/blender/gpu/GPU_platform.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_platform.h b/source/blender/gpu/GPU_platform.h
index f199a748cb5..d9b9ee2a308 100644
--- a/source/blender/gpu/GPU_platform.h
+++ b/source/blender/gpu/GPU_platform.h
@@ -25,6 +25,7 @@
#define __GPU_PLATFORM_H__
#include "BLI_sys_types.h"
+#include "BLI_utildefines.h"
#ifdef __cplusplus
extern "C" {
@@ -43,6 +44,8 @@ typedef enum eGPUDeviceType {
GPU_DEVICE_ANY = (0xff),
} eGPUDeviceType;
+ENUM_OPERATORS(eGPUDeviceType)
+
typedef enum eGPUOSType {
GPU_OS_WIN = (1 << 8),
GPU_OS_MAC = (1 << 9),