[SDL] SDL_GetWMInfo() not implemented?
Robert Dailey
rcdailey at gmail.com
Mon Dec 3 11:18:10 PST 2007
Never mind, I'm a clown. I was calling it before SDL was initialized.
On Dec 3, 2007 1:12 PM, Robert Dailey <rcdailey at gmail.com> wrote:
> Hi,
>
> I'm doing the following:
>
> SDL_SysWMinfo info;
> SDL_VERSION( &info.version );
> if( !SDL_GetWMInfo( &info ) )
> {
> throw std::exception( "Failed to obtain HWND from SDL (InputRegistry)"
> );
> }
>
> However, the exception is always thrown. Why is SDL_GetWMInfo() not
> working?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20071203/2b4e430c/attachment.html
More information about the SDL
mailing list