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 1763

Summary: Constify SDL_UpdateWindowSurfaceRects() ?
Product: SDL Reporter: Ryan C. Gordon <icculus>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: minor    
Priority: P2    
Version: HG 2.0   
Hardware: All   
OS: All   

Description Ryan C. Gordon 2013-03-19 12:33:36 UTC
With this function...

   SDL_UpdateWindowSurfaceRects(SDL_Window * window, SDL_Rect * rects, int numrects);


...is there any reason rects isn't "const SDL_Rect *" ?

--ryan.
Comment 1 Sam Lantinga 2013-03-20 00:54:12 UTC
Nope!
http://hg.libsdl.org/SDL/rev/3e0d048e1c14