diff options
Diffstat (limited to 'source/blender/gpu/GPU_extensions.h')
-rw-r--r-- | source/blender/gpu/GPU_extensions.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/gpu/GPU_extensions.h b/source/blender/gpu/GPU_extensions.h index b51363a6941..b6596846841 100644 --- a/source/blender/gpu/GPU_extensions.h +++ b/source/blender/gpu/GPU_extensions.h @@ -63,7 +63,7 @@ void GPU_code_generate_glsl_lib(void); /* GPU Types */ -typedef enum GPUDeviceType { +typedef enum eGPUDeviceType { GPU_DEVICE_NVIDIA = (1 << 0), GPU_DEVICE_ATI = (1 << 1), GPU_DEVICE_INTEL = (1 << 2), @@ -71,23 +71,23 @@ typedef enum GPUDeviceType { GPU_DEVICE_SOFTWARE = (1 << 4), GPU_DEVICE_UNKNOWN = (1 << 5), GPU_DEVICE_ANY = (0xff), -} GPUDeviceType; +} eGPUDeviceType; -typedef enum GPUOSType { +typedef enum eGPUOSType { GPU_OS_WIN = (1 << 8), GPU_OS_MAC = (1 << 9), GPU_OS_UNIX = (1 << 10), GPU_OS_ANY = (0xff00), -} GPUOSType; +} eGPUOSType; -typedef enum GPUDriverType { +typedef enum eGPUDriverType { GPU_DRIVER_OFFICIAL = (1 << 16), GPU_DRIVER_OPENSOURCE = (1 << 17), GPU_DRIVER_SOFTWARE = (1 << 18), GPU_DRIVER_ANY = (0xff0000), -} GPUDriverType; +} eGPUDriverType; -bool GPU_type_matches(GPUDeviceType device, GPUOSType os, GPUDriverType driver); +bool GPU_type_matches(eGPUDeviceType device, eGPUOSType os, eGPUDriverType driver); #ifdef __cplusplus } |