include: fixed a typo in SDL_RenderGetMetalCommandEncoder docs.

This commit is contained in:
Ryan C. Gordon 2023-08-06 10:45:11 -04:00
parent 53d818e31c
commit 8087c0a5d2
No known key found for this signature in database
GPG key ID: FA148B892AB48044

View file

@ -1890,7 +1890,7 @@ extern DECLSPEC void *SDLCALL SDL_RenderGetMetalLayer(SDL_Renderer * renderer);
* Note that as of SDL 2.0.18, this will return NULL if Metal refuses to give
* SDL a drawable to render to, which might happen if the window is
* hidden/minimized/offscreen. This doesn't apply to command encoders for
* render targets, just the window's backbacker. Check your return values!
* render targets, just the window's backbuffer. Check your return values!
*
* \param renderer The renderer to query
* \returns an `id<MTLRenderCommandEncoder>` on success, or NULL if the