You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However when setting blend mode to SDL_BLENDMODE_NONE it works. Also using SDL_RenderCopy with SDL_BLENDMODE_BLEND seems to work fine. Something is wrong in SDL_RenderCopyEx in the software renderer. I use SDL_RenderCopyEx for drawing rects with rotation.
On 2014-07-13 22:42:48 +0000, Melker Narikka wrote:
Created attachment 1751
a test case demonstrating the issue
Here's a test case demonstrating the issue.
On 2014-07-13 22:44:06 +0000, Melker Narikka wrote:
Created attachment 1752
RenderCopyEx patch
This patch seems to fix the issue.
On 2014-07-14 10:51:55 +0000, Melker Narikka wrote:
Created attachment 1754
RenderCopyEx patch - v2
A revised patch. Since the size of the rotated surface will always match the destination rectangle, we'll just unconditionally use BlitSurface.
On 2014-07-14 10:57:35 +0000, Melker Narikka wrote:
Created attachment 1755
rotateSurface - disable RLE acceleration
For some reason setting SDL_RLEACCEL (and thus using RLEAlphaBlit instead of SoftBlit) causes the render to fail. This only affects BlitSurface rather than BlitScaled, since BlitScaled seems to always use SoftBlit.
The normal RenderCopy doesn't set any RLE flags either, and winds up using SoftBlit.
On 2014-07-17 10:55:39 +0000, Damian Kaczmarek wrote:
Created attachment 1768
One pixel off at the edge
Any idea why this is caused? (attached screenshot) Is it a bug in the test case?
On 2014-07-17 11:33:28 +0000, Melker Narikka wrote:
(In reply to Damian Kaczmarek from comment # 5)
Created attachment 1768 [details]
One pixel off at the edge
Any idea why this is caused? (attached screenshot) Is it a bug in the test
case?
I think you meant to post that in # 2646 :)
In any case, that looks like a general issue with SDL_render.
On 2017-11-08 12:44:22 +0000, Sylvain wrote:
I tried with older version and it appears to be fixed between SDL 2.0.3 and 2.0.4. So marking as resolved.
The text was updated successfully, but these errors were encountered:
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
RenderCopyEx patch (sdl2-sw-rendercopyex.patch, text/plain, 2014-07-13 22:44:06 +0000, 2129 bytes)Reported in version: HG 2.1
Reported for operating system, platform: Linux, x86_64
Comments on the original bug report:
On 2013-10-30 16:41:10 +0000, edubart wrote:
On 2014-07-13 22:42:48 +0000, Melker Narikka wrote:
On 2014-07-13 22:44:06 +0000, Melker Narikka wrote:
On 2014-07-14 10:51:55 +0000, Melker Narikka wrote:
On 2014-07-14 10:57:35 +0000, Melker Narikka wrote:
On 2014-07-17 10:55:39 +0000, Damian Kaczmarek wrote:
On 2014-07-17 11:33:28 +0000, Melker Narikka wrote:
On 2017-11-08 12:44:22 +0000, Sylvain wrote:
The text was updated successfully, but these errors were encountered: