Rendering clipping using SDL_RenderSetClipRect broken in SDL hg

Hi,

I recently tried to build the game I’m working on against SDL hg and I
noticed the renderer clipping is totally broken or at least it doesn’t work
any more as it did in the latest SDL stable (2.0.3).

I wrote a simple test program to verify the problem wasn’t in my game, you
can check it out here: http://pastebin.com/WX9tq7rk

You can see the results of building the same program against SDL 2.0.3 and
hg here: http://imgur.com/a/8pDrD

I dug bugzilla and it seems nobody has mentioned this before, but I wanted
to check with the ML before submitting a report.

Can any SDL developer check/comment about this?

Thanks–
Davide Coppola

email: @Davide_Coppola
website: http://www.davidecoppola.com
blog: http://blog.davidecoppola.com

http://plus.google.com/+DavideCoppola
http://www.linkedin.com/in/davidecoppola
http://www.twitter.com/vivaladav

No reply yet, so I could only fill a bug report and hope for the best:
https://bugzilla.libsdl.org/show_bug.cgi?id=3123

The bug has been introduced in this revision:

Hopefully some SDL developer will take on this.On 13 September 2015 at 20:02, Davide Coppola <@Davide_Coppola> wrote:

Hi,

I recently tried to build the game I’m working on against SDL hg and I
noticed the renderer clipping is totally broken or at least it doesn’t work
any more as it did in the latest SDL stable (2.0.3).

I wrote a simple test program to verify the problem wasn’t in my game, you
can check it out here: http://pastebin.com/WX9tq7rk

You can see the results of building the same program against SDL 2.0.3 and
hg here: http://imgur.com/a/8pDrD

I dug bugzilla and it seems nobody has mentioned this before, but I wanted
to check with the ML before submitting a report.

Can any SDL developer check/comment about this?

Thanks


Davide Coppola

email: @Davide_Coppola
website: http://www.davidecoppola.com
blog: http://blog.davidecoppola.com

http://plus.google.com/+DavideCoppola
http://www.linkedin.com/in/davidecoppola
http://www.twitter.com/vivaladav


Davide Coppola

email: @Davide_Coppola
website: http://www.davidecoppola.com
blog: http://blog.davidecoppola.com

http://plus.google.com/+DavideCoppola
http://www.linkedin.com/in/davidecoppola
http://www.twitter.com/vivaladav