| Summary: | allow to distangle the joystick device loop from the video loop | ||
|---|---|---|---|
| Product: | SDL | Reporter: | nescivi |
| Component: | joystick | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | philipp.wiesemann |
| Version: | HG 2.1 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Attachments: | patch to fix this | ||
|
Description
nescivi
2013-07-03 02:40:01 UTC
Why does SDL_EventInit() has a comment containing "determine native pixel format"? If this needs to be changed, maybe an additional improvement: SDL_SetError() always returns -1. This helps saving vertical space in source. :) And there are multiple line comments (//) which maybe cause problems with really old C compilers (but they make the changes in the patch more clear). Implemented! http://hg.libsdl.org/SDL/rev/b86947ea2749 |