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 1851

Summary: SDL_render_gles.c: useDrawTexture does not play well with SDL_RenderSetLogicalSize()/SDL_RenderSetScale()
Product: SDL Reporter: Pallav Nawani <pallavnawani>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED DUPLICATE QA Contact: Sam Lantinga <slouken>
Severity: major    
Priority: P2    
Version: HG 2.0   
Hardware: iPhone/iPod touch   
OS: iOS (All)   

Description Pallav Nawani 2013-05-14 08:23:56 UTC
The GL ES1 extension GL_OES_draw_texture does not play well with renderer scaling as done by SDL_RenderSetScale(). This is because GL_OES_draw_texture  does a unscaled raw blit, ignoring any scaling.

Fix would be to test for the presence of scaling in GLES_RenderCopy() before using the extension.

Bug is present in Android as well as iOS.
Comment 1 Sam Lantinga 2013-05-16 03:39:04 UTC
Thanks for the report.  Do you have a tested patch?
Comment 2 Pallav Nawani 2013-09-03 09:55:16 UTC
This is same as Bug 2006.
Comment 3 Sam Lantinga 2013-09-05 13:49:05 UTC
Resolving as duplicate of bug 2006

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