diff options
Diffstat (limited to 'source/blender/gpu/metal/mtl_context.mm')
-rw-r--r-- | source/blender/gpu/metal/mtl_context.mm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/gpu/metal/mtl_context.mm b/source/blender/gpu/metal/mtl_context.mm index d4e25defecf..6ecdb3f48b3 100644 --- a/source/blender/gpu/metal/mtl_context.mm +++ b/source/blender/gpu/metal/mtl_context.mm @@ -49,7 +49,7 @@ MTLContext::MTLContext(void *ghost_window) /* Init debug. */ debug::mtl_debug_init(); - /* Initialise command buffer state. */ + /* Initialize command buffer state. */ this->main_command_buffer.prepare(this); /* Frame management. */ @@ -61,14 +61,14 @@ MTLContext::MTLContext(void *ghost_window) this->front_left = mtl_front_left; this->back_left = mtl_back_left; this->active_fb = this->back_left; - /* Prepare platform and capabilities. (Note: With METAL, this needs to be done after CTX - * initialisation). */ + /* Prepare platform and capabilities. (NOTE: With METAL, this needs to be done after CTX + * initialization). */ MTLBackend::platform_init(this); MTLBackend::capabilities_init(this); /* Initialize Metal modules. */ this->state_manager = new MTLStateManager(this); - /* Initialise texture read/update structures. */ + /* Initialize texture read/update structures. */ this->get_texture_utils().init(); /* Bound Samplers struct. */ @@ -77,7 +77,7 @@ MTLContext::MTLContext(void *ghost_window) samplers_.mtl_sampler_flags[i] = DEFAULT_SAMPLER_STATE; } - /* Initialise samplers. */ + /* Initialize samplers. */ for (uint i = 0; i < GPU_SAMPLER_MAX; i++) { MTLSamplerState state; state.state = static_cast<eGPUSamplerState>(i); |