Fixed code example for SDL_GetWindowWMInfo()

This commit is contained in:
Sam Lantinga 2013-07-14 11:57:01 -07:00
parent 3d97a0a1bb
commit c43e19485b

View file

@ -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,