| Summary: | Raspberry Pi window contents crooked (slightly rotated) | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Eric wing <ewmailing> |
| Component: | render | Assignee: | Sam Lantinga <slouken> |
| Status: | NEW --- | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | bandock666 |
| Version: | 2.0.7 | ||
| Hardware: | ARM | ||
| OS: | Linux | ||
| Attachments: |
screenshot of crooked window
test program |
||
|
Description
Eric wing
2017-11-27 22:10:15 UTC
Created attachment 3105 [details]
test program
I think I might've figured it out at least to a degree. I have a staunch feeling there might be floating point errors going on. I just learned about this because I started to use SDL_RenderSetIntegerScale on my personal project (which benefited greatly). When I just ran a new test build on my Raspberry Pi 3 after compiling; I noticed that it wasn't as crooked (in fact, stopped being more crooked as more data got added). Without integer scale enabled, it's a complete mess (which might be floating point errors). I haven't looked at the code yet (though I recently got a hold of the latest source build for 2.0.8), but figured I might give a clue from my own experience. |