Sam Lantinga

Results 1875 comments of Sam Lantinga

It might be worth seeing in what cases you get an unaligned pointer. I know the start of the images are always aligned by definition. It might be better for...

On macOS, it's the application that shows up on the dock and task switcher, so SDL_WINDOW_UTILITY has no effect.

These flags are distinct window types, you can't set more than one of these at a time: `(SDL_WINDOW_UTILITY | SDL_WINDOW_TOOLTIP | SDL_WINDOW_POPUP_MENU | SDL_WINDOW_MODAL)`

On macOS SDL_WINDOW_NOT_FOCUSABLE prevents the window from becoming key, e.g. having title bar highlighting indicating input focus. It also prevents the window from getting keyboard focus. I changed it so...

It's not quite that simple, it needs to be a runtime check, and you need to dynamically load the new function so that SDL continues to function on older devices....

> Since the SDL project recommends using shared libraries, would it make sense to stop adding static libraries? Yes. :)

We should document the legacy mode and limitations in the header in the category introduction.

Does this open the door for different Android devices, or is that orthogonal to this?