Sam Lantinga

Results 1865 comments of Sam Lantinga

Yes, that's more the problem, that we haven't defined standard behavior. Usually this ends up being what Windows does, to conform with the expectations of the majority of game developers.

This function was designed for SDL_ttf, which would have called this function had it existed, but since it didn't exist, hand-rolled it's own code that relies on the current implementation...

This will also help with the Nintendo Joy-Con Charging Grip using the hid_nintendo driver on Linux, where both sides have the same VID/PID, but different mappings.

Good news, in the entire set of Linux controller mappings, there is only one CRC16 collision: 0x0585: MP-8866 Super Dual Box 0x0585: QanBa Arcade JoyStick I think this is a...

This might be enough. The string we're hashing contains iProduct, so they should be different. Can you try out the latest code and see if that works?

I'm moving this discussion over to https://github.com/libsdl-org/SDL/issues/3197 so we can follow it on the bug report.

I think originally both calls limited window size to desktop resolution, and we removed this limitation in CreateWindow but forgot SetWindowSize. I think there might be some tap dancing needed...

Removing -mwindows will break all the applications which depend on it - any application which isn't a console application, e.g. all games, etc. Please revert this change. If someone specifically...

If there's an elegant way to parameterize that in the pkg-config / sdl-config / CMake cases, I'm totally fine with that, we just can't change the default.

Okay, that's fine, as long as we document the requirement for CMake applications on Windows.