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 - SDL_render_gles.c: useDrawTexture does not play well with SDL_RenderSetLogicalSize()/SDL_RenderSetScale()
Summary: SDL_render_gles.c: useDrawTexture does not play well with SDL_RenderSetLogica...
Status: RESOLVED DUPLICATE of bug 2006
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: iPhone/iPod touch iOS (All)
: P2 major
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-14 08:23 UTC by Pallav Nawani
Modified: 2013-09-05 13:49 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 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 ***