# SDL: Document mode parameter of SDL\_GetRenderLogicalPresentation

**URL:** <https://discourse.libsdl.org/t/sdl-document-mode-parameter-of-sdl-getrenderlogicalpresentation/54481>\
**Category:** SDL Commits\
**Created:** [September 26, 2024, 2:14pm UTC](https://discourse.libsdl.org/t/sdl-document-mode-parameter-of-sdl-getrenderlogicalpresentation/54481 "2024-09-26T14:14:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDLPushPostBot](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/sdlpushpostbot/32/4370_2.png) [@SDLPushPostBot](https://discourse.libsdl.org/u/SDLPushPostBot)\
**Post date:** [September 26, 2024, 2:14pm UTC](https://discourse.libsdl.org/t/sdl-document-mode-parameter-of-sdl-getrenderlogicalpresentation/54481/1 "2024-09-26T14:14:02Z")

</div>

> <https://github.com/libsdl-org/SDL/commit/345cae361d99728a42de5e8991458a08d8529954>

```diff
From 345cae361d99728a42de5e8991458a08d8529954 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Thu, 26 Sep 2024 16:12:04 +0200
Subject: [PATCH] Document mode parameter of SDL_GetRenderLogicalPresentation

---
 include/SDL3/SDL_render.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/SDL3/SDL_render.h b/include/SDL3/SDL_render.h
index 249a6df947453..3096dc3b87219 100644
--- a/include/SDL3/SDL_render.h
+++ b/include/SDL3/SDL_render.h
@@ -1387,6 +1387,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SetRenderLogicalPresentation(SDL_Renderer *
  * \param renderer the rendering context.
  * \param w an int to be filled with the width.
  * \param h an int to be filled with the height.
+ * \param mode the presentation mode used.
  * \returns true on success or false on failure; call SDL_GetError() for more
  * information.
  *

```
