Commit dbb6cd02aa0b0f98e5d67c852bf32deb419ba0b1

Ryan C. Gordon 2023-08-06T10:45:11

include: fixed a typo in SDL_RenderGetMetalCommandEncoder docs. (cherry picked from commit 8087c0a5d2e2e47b7841cdd9d3fdff8cfb23e241)

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/SDL_render.h b/include/SDL_render.h
index d62715a..2d3f073 100644
--- a/include/SDL_render.h
+++ b/include/SDL_render.h
@@ -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