Bläddra i källkod

Fixed documentation warnings

Sam Lantinga 2 år sedan
förälder
incheckning
95e5417d2e
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 1 1
      include/SDL3/SDL_events.h
  2. 1 1
      include/SDL3/SDL_render.h

+ 1 - 1
include/SDL3/SDL_events.h

@@ -1077,7 +1077,7 @@ extern DECLSPEC void SDLCALL SDL_FilterEvents(SDL_EventFilter filter,
  * Set the state of processing events by type.
  *
  * \param type the type of event; see SDL_EventType for details
- * \param state whether to process the event or not
+ * \param enabled whether to process the event or not
  *
  * \since This function is available since SDL 3.0.0.
  *

+ 1 - 1
include/SDL3/SDL_render.h

@@ -1575,7 +1575,7 @@ extern DECLSPEC int SDLCALL SDL_SetRenderVSync(SDL_Renderer *renderer, int vsync
  * Get VSync of the given renderer.
  *
  * \param renderer The renderer to toggle
- * \param set output vsync 1 for on, 0 for off. All other values are reserved
+ * \param vsync an int filled with 1 for on, 0 for off. All other values are reserved
  * \returns a 0 int on success, or non-zero on failure
  *
  * \since This function is available since SDL 3.0.0.