X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=misc%2Fbuildfiles%2Fosx%2FXonotic.app%2FContents%2FFrameworks%2FSDL.framework%2FVersions%2FA%2FHeaders%2FSDL_syswm.h;fp=misc%2Fbuildfiles%2Fosx%2FXonotic.app%2FContents%2FFrameworks%2FSDL.framework%2FVersions%2FA%2FHeaders%2FSDL_syswm.h;h=716dddcb73c8736a17527a9fe20b607d02e4815e;hb=50c7a075664d51a783582fb388e2fd28ac7f65bc;hp=1da97fa3b15606b9549167fce6390d9ed5753101;hpb=c143e94f88f79dc27bbb796d391945e14b81ed73;p=xonotic%2Fxonotic.git diff --git a/misc/buildfiles/osx/Xonotic.app/Contents/Frameworks/SDL.framework/Versions/A/Headers/SDL_syswm.h b/misc/buildfiles/osx/Xonotic.app/Contents/Frameworks/SDL.framework/Versions/A/Headers/SDL_syswm.h index 1da97fa3..716dddcb 100644 --- a/misc/buildfiles/osx/Xonotic.app/Contents/Frameworks/SDL.framework/Versions/A/Headers/SDL_syswm.h +++ b/misc/buildfiles/osx/Xonotic.app/Contents/Frameworks/SDL.framework/Versions/A/Headers/SDL_syswm.h @@ -203,13 +203,12 @@ 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 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. + * 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. * * You typically use this function like this: * @code - * SDL_SysWMinfo info; + * SDL_SysWMInfo info; * SDL_VERSION(&info.version); * if ( SDL_GetWMInfo(&info) ) { ... } * @endcode