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 3746 - remove SDLCALL attribute from SDL_BlitFunc() funcptr
Summary: remove SDLCALL attribute from SDL_BlitFunc() funcptr
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: HG 2.0
Hardware: All All
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-13 17:22 UTC by Ozkan Sezer
Modified: 2017-08-14 04:09 UTC (History)
0 users

See Also:


Attachments
SDLCALL-3 patch (415 bytes, patch)
2017-08-13 17:22 UTC, Ozkan Sezer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ozkan Sezer 2017-08-13 17:22:39 UTC
Created attachment 2836 [details]
SDLCALL-3 patch

The attached patch removes SDLCALL attribute from SDL_BlitFunc() funcptr.

As far as I can see, *SDL_BlitFunc() is completely internal to SDL with
no specific calling convention requirements.  The actual functions assigned
to SDL_BlitFunc seem to not have any calling conventions specified. So,
easy solution is simply removing the strict calling convention from the
type.
Comment 1 Sam Lantinga 2017-08-14 04:09:14 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/1a13003276fc