From 5819d4b360a76fc2495fb6dabad5d6389167b46c Mon Sep 17 00:00:00 2001
From: Petar Popovic <[EMAIL REDACTED]>
Date: Sun, 20 Oct 2024 16:01:42 +0200
Subject: [PATCH] SDL_CreateRenderer() comment: Remove mention of flags
---
include/SDL3/SDL_render.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/SDL3/SDL_render.h b/include/SDL3/SDL_render.h
index 29b2e40f9e511..a9807c6527d75 100644
--- a/include/SDL3/SDL_render.h
+++ b/include/SDL3/SDL_render.h
@@ -214,7 +214,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_CreateWindowAndRenderer(const char *title,
* Create a 2D rendering context for a window.
*
* If you want a specific renderer, you can specify its name here. A list of
- * available renderers can be obtained by calling SDL_GetRenderDriver multiple
+ * available renderers can be obtained by calling SDL_GetRenderDriver() multiple
* times, with indices from 0 to SDL_GetNumRenderDrivers()-1. If you don't
* need a specific renderer, specify NULL and SDL will attempt to choose the
* best option for you, based on what is available on the user's system.
@@ -224,8 +224,8 @@ extern SDL_DECLSPEC bool SDLCALL SDL_CreateWindowAndRenderer(const char *title,
* scaling options.
*
* \param window the window where rendering is displayed.
- * \param name the name of the rendering driver to initialize, or NULL to
- * initialize the first one supporting the requested flags.
+ * \param name the name of the rendering driver to initialize, or NULL to let
+ * SDL choose one.
* \returns a valid rendering context or NULL if there was an error; call
* SDL_GetError() for more information.
*