autorelease fix has landed upstream to SDL, remove our version of it

This commit is contained in:
asvitkine 2012-01-04 22:52:05 +00:00
parent 3c693c0b8d
commit e0c86f12f9

View File

@ -63,10 +63,6 @@
#include "video_blit.h"
#include "vm_alloc.h"
#if (defined(__APPLE__) && defined(__MACH__))
#include "utils_macosx.h"
#endif
#define DEBUG 0
#include "debug.h"
@ -2241,12 +2237,7 @@ static inline void do_video_refresh(void)
handle_events();
// Update display
#if (defined(__APPLE__) && defined(__MACH__))
// SDL expects an auto-release pool to be present.
NSAutoReleasePool_wrap(video_refresh);
#else
video_refresh();
#endif
#ifdef SHEEPSHAVER
// Set new cursor image if it was changed