From 7dd5442b60e2c7aa8e5868d4bcffccc4ad5577c8 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 14 Jul 2013 11:57:01 -0700 Subject: [PATCH] Fixed code example for SDL_GetWindowWMInfo() --- include/SDL_syswm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL_syswm.h b/include/SDL_syswm.h index 3ea026b44..5e4454f86 100644 --- a/include/SDL_syswm.h +++ b/include/SDL_syswm.h @@ -219,7 +219,7 @@ typedef struct SDL_SysWMinfo SDL_SysWMinfo; * \code * SDL_SysWMinfo info; * SDL_VERSION(&info.version); - * if ( SDL_GetWindowWMInfo(&info) ) { ... } + * if ( SDL_GetWindowWMInfo(window, &info) ) { ... } * \endcode */ extern DECLSPEC SDL_bool SDLCALL SDL_GetWindowWMInfo(SDL_Window * window,