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 - YUV textures problem with Software rendering, x86
Summary: YUV textures problem with Software rendering, x86
Status: RESOLVED DUPLICATE of bug 3689
Alias: None
Product: SDL
Classification: Unclassified
Component: render (show other bugs)
Version: 2.0.5
Hardware: x86 Windows 10
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-21 01:23 UTC by Egor Pavlov
Modified: 2017-08-12 22:08 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***