We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3707

Summary: YUV textures problem with Software rendering, x86
Product: SDL Reporter: Egor Pavlov <egor-pvl>
Component: renderAssignee: Sam Lantinga <slouken>
Status: RESOLVED DUPLICATE QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.5   
Hardware: x86   
OS: Windows 10   

Description Egor Pavlov 2017-07-21 01:23:43 UTC
YUV textures doesn't displayed in Software rendering mode on Win32(x86).
Renderer creation code:
SDL_Renderer* renderer = SDL_CreateRenderer(screen, -1, SDL_RENDERER_SOFTWARE);
On x64 this code work fine.

Can be fixed on x86:
SDL_Renderer* renderer = SDL_CreateRenderer(screen, 0, SDL_RENDERER_SOFTWARE);

This bug doesn't affected on RGBA textures.
Comment 1 Sam Lantinga 2017-07-21 16:50:56 UTC
Can you provide sample code?
Comment 3 Sam Lantinga 2017-08-12 22:08:34 UTC
I believe this was caused by MMX assembly, which is now disabled while we figure out how to fix it for all compilers.

Thanks!

*** This bug has been marked as a duplicate of bug 3689 ***