Get the pixel format associated with the window.
the window to query.
the pixel format of the window on success or SDL_PIXELFORMAT_UNKNOWN on failure; call SDL_GetError() for more information.
Threadsafety: This function should only be called on the main thread.
See Implementation
Get the pixel format associated with the window.