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 1750

Summary: Directfb renderer does not support SDL_RENDERER_TARGETTEXTURE
Product: SDL Reporter: tomaszewski.p
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: x86_64   
OS: Linux   
Attachments: Adds SDL_RENDERER_TARGETTEXTURE support.

Description tomaszewski.p 2013-03-10 09:49:06 UTC
Created attachment 1066 [details]
Adds  SDL_RENDERER_TARGETTEXTURE support.

DirectFB renderer does not support SDL_RENDERER_TARGETTEXTURE what makes it incompatible with GL or GLES(2) renderers.

Attached patched:
- adds support for SDL_RENDERER_TARGETTEXTURE,
- DirectFB RenderCopy converts destination rectangle from floats to ints,
- fixes whitespaces to be the same in whole file.
Comment 1 Sam Lantinga 2013-03-10 12:10:02 UTC
Fixed, thanks!
http://hg.libsdl.org/SDL/rev/be9c51af4f94