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>2022-03-22 15:44:15 +0300
committerJacques Lucke <jacques@blender.org>2022-03-22 15:44:15 +0300
commit2ebcb7fab3e237b7d00de3088c34780cd24f397b (patch)
treef348f5701a8e30ef9c2dcaa1628c5ac184ec4aa0 /source/blender/gpu/intern/gpu_platform.cc
parent19c793af35ea8e694c16995d115d7c9247fee81a (diff)
Cleanup: make format and fix warning
Diffstat (limited to 'source/blender/gpu/intern/gpu_platform.cc')
-rw-r--r--source/blender/gpu/intern/gpu_platform.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_platform.cc b/source/blender/gpu/intern/gpu_platform.cc
index 8d4e80abd97..d108dd468a0 100644
--- a/source/blender/gpu/intern/gpu_platform.cc
+++ b/source/blender/gpu/intern/gpu_platform.cc
@@ -148,10 +148,14 @@ bool GPU_type_matches(eGPUDeviceType device, eGPUOSType os, eGPUDriverType drive
return GPU_type_matches_ex(device, os, driver, GPU_BACKEND_ANY);
}
-bool GPU_type_matches_ex(eGPUDeviceType device, eGPUOSType os, eGPUDriverType driver, eGPUBackendType backend)
+bool GPU_type_matches_ex(eGPUDeviceType device,
+ eGPUOSType os,
+ eGPUDriverType driver,
+ eGPUBackendType backend)
{
BLI_assert(GPG.initialized);
- return (GPG.device & device) && (GPG.os & os) && (GPG.driver & driver) && (GPG.backend & backend);
+ return (GPG.device & device) && (GPG.os & os) && (GPG.driver & driver) &&
+ (GPG.backend & backend);
}
/** \} */