Mercurial > sdl-ios-xcode
view README.pandora @ 5051:a69e36365766
Fixed bug #1027
Vittorio Giovara 2010-07-17 19:21:36 PDT
fix the double free error
in SDL_uikitview the variable 'textfield' is initialialized and set to
autorelease.
however in the dealloc method a second [release] is sent.
If the textfield has not been set to nil before (with a viewDidUnload for
example) this can lead to awful hard-to-find crashes when the SDL code
terminates.
the error message is
-[textfield release] message sent to deallocated instance 0x4e5fa90
the fix is simple, just release the object as soon as it is added to the
subview, see attached patch
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 19 Jan 2011 23:45:29 -0800 |
parents | 494559cc723b |
children |
line wrap: on
line source
SDL 1.3 with open pandora console support ( http://openpandora.org/ ) ===================================================================== - A pandora specific video driver was writed to allow SDL 1.3 with OpenGL ES support to work on the pandora under the framebuffer. This driver do not have input support for now, so if you use it you will have to add your own control code. The video driver name is "pandora" so if you have problem running it from the framebuffer, try to set the following variable before starting your application : "export SDL_VIDEODRIVER=pandora" - OpenGL ES support was added to the x11 driver, so it's working like the normal x11 driver one with OpenGLX support, with SDL input event's etc.. David Carré (Cpasjuste) cpasjuste@gmail.com