doc: fix migration api typo

This commit is contained in:
Ronny Chan 2024-09-30 11:38:13 -04:00 committed by GitHub
parent 34b50059ca
commit 90a9ee754d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -38,7 +38,7 @@ The following changes are applicable if `LIBRA_RUNTIME_VULKAN` is defined.
* It is always thread safe to call `libra_vk_filter_chain_set_param` from any thread [^1]. * It is always thread safe to call `libra_vk_filter_chain_set_param` from any thread [^1].
## `LIBRA_RUNTIME_OPENGL` changes ## `LIBRA_RUNTIME_OPENGL` changes
The following changes are applicable if `LIBRA_RUNTIME_METAL` is defined. The following changes are applicable if `LIBRA_RUNTIME_OPENGL` is defined.
* The `libra_gl_init_context` function has been removed. * The `libra_gl_init_context` function has been removed.
* The function `libra_gl_filter_chain_create` now accepts a `loader` parameter of type `libra_gl_loader_t`. This will be the OpenGL loader used to create the filter chain, previously passed to `libra_gl_init_context` * The function `libra_gl_filter_chain_create` now accepts a `loader` parameter of type `libra_gl_loader_t`. This will be the OpenGL loader used to create the filter chain, previously passed to `libra_gl_init_context`
The filter chain will be created against the current OpenGL context. The filter chain will be created against the current OpenGL context.