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
That problem was blocking the production here, so I lookde at the code in SDL_render_d3d11.c to try to debug it.
I realized that the horizontal and vertical flip code in D3D11_QueueCopyEx() was reversed.
I'm submitting a patch that works for us (see attached files).
Please note that the patch also includes changes that are not necessarly important, but that brings the code closer to what the D3D_QueueCopyEx() function looks like. The relevant part, though, is the SDL_FLIP part at the beginning of the function.
On 2019-11-20 20:52:55 +0000, Martin Vee wrote:
Created attachment 4063
Patch for SDL_render_d3d11.c to fix the rotation problem.
On 2019-12-03 08:08:00 +0000, Ryan C. Gordon wrote:
This fix actually made Direct3D11 renderer behave erratically with texture coordinates "jumping around".
I haven't actually looked at what caused it exactly in texture coordinates, but since recently I was implementing SDL2 renderer into my game I've noticed that as soon as I updated to 2.0.11 from hg the renderer with Direct3D 11 driver behaves erratically while other drivers have no such issues.
It renders normally in SDL 2.0.10 and I did confirm (by replacing SDL_render_d3d11.c in 2.0.11-hg from 2.0.10-stable) that this fix actually brought this behavior.
On 2019-12-22 16:06:33 +0000, Konrad wrote:
My bad actually, I did incorrectly assume this was the issue since this patch was messing around with texture UV, but I had some time to check all commits and this one is actually fine.
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: 2.0.10
Reported for operating system, platform: Windows 10, x86_64
Comments on the original bug report:
On 2019-11-13 21:18:30 +0000, Martin Vee wrote:
On 2019-11-20 20:51:52 +0000, Martin Vee wrote:
On 2019-11-20 20:52:55 +0000, Martin Vee wrote:
On 2019-12-03 08:08:00 +0000, Ryan C. Gordon wrote:
On 2019-12-22 14:38:17 +0000, Konrad wrote:
On 2019-12-22 16:06:33 +0000, Konrad wrote:
On 2019-12-23 14:38:47 +0000, Ryan C. Gordon wrote:
The text was updated successfully, but these errors were encountered: