| Summary: | Test testrendercopyex draws mirrored output | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Daniel Knobe <Daniel-Knobe> |
| Component: | *don't know* | Assignee: | Gabriel Jacobo <gabomdq> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 2.0.1 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Attachments: | Mirrored screen output | ||
I have did one more test to see where the problem come from.
If I comment the following code:
...
//target = SDL_CreateTexture(s->renderer, SDL_PIXELFORMAT_ARGB8888, SDL_TEXTUREACCESS_TARGET, viewport.w, viewport.h);
//SDL_SetRenderTarget(s->renderer, target);
...
//SDL_SetRenderTarget(s->renderer, NULL);
//SDL_RenderCopy(s->renderer, target, NULL, NULL);
//SDL_DestroyTexture(target);
Everything works on the tablet, too. So switching on a texture as the rendering target and that drawing it on the screen leads to that problem on this device.
Is this the opengles 2 renderer? Any other info you can provide? Do you see it on other devices? Can you try the latest SDL snapshot? http://www.libsdl.org/tmp/SDL-2.0.zip Thanks! Sorry for the late answer. Yes the actual version of SDL fixes the problem! Thanks! Great, thanks! |
Created attachment 1465 [details] Mirrored screen output Executing testrendercopyex on some devices - tested on Galaxy Tab 2 10.1 - Cyanogenmod 10.1 (~Android 4.2.2) draws a mirrored screen output. I could only test it on landscape mode until jet. See attachment for screen output.