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 - Constify SDL_UpdateWindowSurfaceRects() ?
Summary: Constify SDL_UpdateWindowSurfaceRects() ?
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: All All
: P2 minor
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-19 12:33 UTC by Ryan C. Gordon
Modified: 2013-03-20 00:54 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 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