You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The caller must initialize the info structure's version by using SDL_VERSION(&info.version), and then this function will fill in the rest of the structure with information about the given window.
Also the return value of SDL_GetWindowWMInfo() to check against should be SDL_TRUE which is defined as 1, but the code tests against 0. The following changes are necessary:
In the SDL wiki SDL_GetWindowWMInfo it is specified that:
Also the return value of
SDL_GetWindowWMInfo()
to check against should beSDL_TRUE
which is defined as 1, but the code tests against 0. The following changes are necessary:The text was updated successfully, but these errors were encountered: