summaryrefslogtreecommitdiff
path: root/src/SDL12/include/SDL_syswm.h
diff options
context:
space:
mode:
authorZachary Slater <zachary@ioquake.org>2012-04-10 06:44:04 +0000
committerTim Angus <tim@ngus.net>2013-01-12 20:21:21 +0000
commit6d82447b7ec04dafc49561b48e6440e12c219461 (patch)
tree8dab38911f976435f9b86615ff11eb68f12cf5e4 /src/SDL12/include/SDL_syswm.h
parentd0b61b82f0b376128371a29cfd6eacfe2cd0c470 (diff)
updating SDL includes to 1.2.15 Listen to this if this doesn't work out properly: http://timedoctor.org/fun/swf/starwars/tauntaun-soundboard.swf
Diffstat (limited to 'src/SDL12/include/SDL_syswm.h')
-rw-r--r--src/SDL12/include/SDL_syswm.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/SDL12/include/SDL_syswm.h b/src/SDL12/include/SDL_syswm.h
index 716dddcb..78433c6a 100644
--- a/src/SDL12/include/SDL_syswm.h
+++ b/src/SDL12/include/SDL_syswm.h
@@ -1,6 +1,6 @@
/*
SDL - Simple DirectMedia Layer
- Copyright (C) 1997-2009 Sam Lantinga
+ Copyright (C) 1997-2012 Sam Lantinga
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -203,12 +203,13 @@ typedef struct SDL_SysWMinfo {
/**
* This function gives you custom hooks into the window manager information.
* It fills the structure pointed to by 'info' with custom information and
- * returns 1 if the function is implemented. If it's not implemented, or
- * the version member of the 'info' structure is invalid, it returns 0.
+ * returns 0 if the function is not implemented, 1 if the function is
+ * implemented and no error occurred, and -1 if the version member of
+ * the 'info' structure is not filled in or not supported.
*
* You typically use this function like this:
* @code
- * SDL_SysWMInfo info;
+ * SDL_SysWMinfo info;
* SDL_VERSION(&info.version);
* if ( SDL_GetWMInfo(&info) ) { ... }
* @endcode