Cleanup: spelling in comments & string

Also back-tick quote literals in CMakeLists files.
This commit is contained in:
Campbell Barton
2025-09-06 09:19:08 +10:00
parent d18e0cb573
commit 3c7f4edd92
9 changed files with 24 additions and 24 deletions

View File

@@ -859,7 +859,7 @@ if(WITH_CYCLES_CUDA_BINARIES AND WITH_CYCLES_DEVICE_OPTIX)
set(cuda_version ${CUDA_VERSION})
if("${CUDA_VERSION}" GREATER_EQUAL 130) # Support for Maxwell, Pascal and Volta was dropped in CUDA 13
if(DEFINED CUDA11_NVCC_EXECUTABLE)
# Use CUDA 11 for the OptiX PTX kernel, to retain support for older achitectures
# Use CUDA 11 for the OptiX PTX kernel, to retain support for older architectures.
set(cuda_nvcc_executable ${CUDA11_NVCC_EXECUTABLE})
set(cuda_version 110)
else()

View File

@@ -388,7 +388,7 @@ elseif(WITH_GHOST_X11 OR WITH_GHOST_WAYLAND)
generate_protocol_bindings(
"${WAYLAND_PROTOCOLS_DIR}/staging/fractional-scale/fractional-scale-v1.xml"
)
# Viewport (only required when fractional scale is in use).
# ViewPorter (only required when fractional scale is in use).
generate_protocol_bindings(
"${WAYLAND_PROTOCOLS_DIR}/stable/viewporter/viewporter.xml"
)

View File

@@ -382,8 +382,8 @@ inline T *MEM_new(const char *allocation_name, Args &&...args)
*
* \note This function uses 'default initialization' on zero-initialized memory, _not_ 'value
* initialization'. This means that even if a user-defined default constructor is provided,
* non-explicitely initialized data will be zero-initialized. For POD types (e.g. pure C-style
* structs), its behavior is functionnally identical to using `MEM_callocN<T>()`.
* non-explicitly initialized data will be zero-initialized. For POD types (e.g. pure C-style
* structs), its behavior is functionally identical to using `MEM_callocN<T>()`.
*
* \warning This function is intended as a temporary work-around during the process of converting
* Blender data management from C-style (alloc/free) to C++-style (new/delete). It will be removed