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 1137 - CHECK_RENDERER_MAGIC - "EXC_BAD_ACCESS"
Summary: CHECK_RENDERER_MAGIC - "EXC_BAD_ACCESS"
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: x86 Mac OS X 10.6
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-20 12:16 UTC by Trent M
Modified: 2011-02-20 14:22 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 Trent M 2011-02-20 12:16:16 UTC
I was getting some out of date function calls in SDL/Xcode-iPhoneOS/Demos/src/keyboard.c so I modified based on new SDL_RENDERER changes.

The "Keyboard" target in DemoIPhoneOS then ran however the first call to CHECK_RENDERER_MAGIC receives signal "EXC_BAD_ACCESS".

my changes were basically to define SDL_Renderer and pass it in as the first argument to the render operations. Also looks like SDL_RenderFill was removed so replaced with SDL_RenderDrawRect.
Comment 1 Sam Lantinga 2011-02-20 14:22:53 UTC
This is fixed, thanks!
http://hg.libsdl.org/SDL/rev/fec676157db5