From 95e5417d2e8cd678df17f8c37e84f0c9cc09b73b Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 3 Jan 2023 15:39:11 -0800 Subject: [PATCH] Fixed documentation warnings --- include/SDL3/SDL_events.h | 2 +- include/SDL3/SDL_render.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/SDL3/SDL_events.h b/include/SDL3/SDL_events.h index 40573ad38..20afd8393 100644 --- a/include/SDL3/SDL_events.h +++ b/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. * diff --git a/include/SDL3/SDL_render.h b/include/SDL3/SDL_render.h index c65ce6e73..161c9bc9d 100644 --- a/include/SDL3/SDL_render.h +++ b/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.