Fixed code example for SDL_GetWindowWMInfo()
authorSam Lantinga <slouken@libsdl.org>
Sun, 14 Jul 2013 11:57:01 -0700
changeset 7455 0a988affc7e7
parent 7454 05595e5359af
child 7456 193c9a1723ad
Fixed code example for SDL_GetWindowWMInfo()
include/SDL_syswm.h
--- a/include/SDL_syswm.h	Sun Jul 14 11:43:25 2013 -0700
+++ b/include/SDL_syswm.h	Sun Jul 14 11:57:01 2013 -0700
@@ -219,7 +219,7 @@
  *  \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,