diff options
Diffstat (limited to 'source/blender/gpu/intern/gpu_extensions.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_extensions.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c index 9c00afbca9f..901face9fb3 100644 --- a/source/blender/gpu/intern/gpu_extensions.c +++ b/source/blender/gpu/intern/gpu_extensions.c @@ -77,9 +77,9 @@ static struct GPUGlobal { GLint maxubobinds; int colordepth; int samples_color_texture_max; - GPUDeviceType device; - GPUOSType os; - GPUDriverType driver; + eGPUDeviceType device; + eGPUOSType os; + eGPUDriverType driver; float line_width_range[2]; /* workaround for different calculation of dfdy factors on GPUs. Some GPUs/drivers * calculate dfdy in shader differently when drawing to an offscreen buffer. First @@ -132,7 +132,7 @@ static void gpu_detect_mip_render_workaround(void) /* GPU Types */ -bool GPU_type_matches(GPUDeviceType device, GPUOSType os, GPUDriverType driver) +bool GPU_type_matches(eGPUDeviceType device, eGPUOSType os, eGPUDriverType driver) { return (GG.device & device) && (GG.os & os) && (GG.driver & driver); } |