| Summary: | SDL_RenderCopy rendering issue | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Jacek Dudek <jacek> |
| Component: | video | Assignee: | Gabriel Jacobo <gabomdq> |
| Status: | RESOLVED WORKSFORME | QA Contact: | Sam Lantinga <slouken> |
| Severity: | blocker | ||
| Priority: | P1 | CC: | icculus |
| Version: | HG 2.0 | Keywords: | target-2.0.0 |
| Hardware: | x86 | ||
| OS: | Windows 7 | ||
| Attachments: | Project with different versions of SDL libraries. | ||
|
Description
Jacek Dudek
2012-07-05 04:53:21 UTC
Gabriel, can you look at this for the SDL 2.0 release? Thanks! I don't have access to a Windows system with Visual Studio to figure this one out. Looking back on the thread, I now understand that there was no regression in SDL_RenderCopy (if I understand correctly), but the problem was that SDL_RenderCopyEX didn't produce the desired output (all black). Given that creating a texture from a surface works, I think there could be a problem with the alpha channel, or the blend mode (it is not set in the example AFAICT). A simple test case would be useful to confirm this, but I'm fairly confident the problem doesn't lie with SDL. (Sorry if you get a lot of copies of this email, we're touching dozens of bug reports right now.) Tagging a bunch of bugs as target-2.0.0, Priority 1. This means we're in the final stretch for an official SDL 2.0.0 release! These are the bugs we really want to fix before shipping if humanly possible. That being said, we don't promise to fix them because of this tag, we just want to make sure we don't forget to deal with them before we bless a final 2.0.0 release, and generally be organized about what we're aiming to ship. Hopefully you'll hear more about this bug soon. If you have more information (including "this got fixed at some point, nevermind"), we would love to have you come add more information to the bug report when you have a moment. Thanks! --ryan. Just tried the attached project on Windows...works fine with both the "broken" version of the library and the non-broken one. Maybe it's an uninitialized variable in the application somewhere? Questionable that this worked on Windows up to an SDL revision that only makes a change in the X11 test in the configure script...that sounds like an app bug to me. I'm closing this one. If someone can demonstrate it's still a problem, please reopen this bug. --ryan. |