mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-26 10:49:21 +00:00
autorelease fix has landed upstream to SDL, remove our version of it
This commit is contained in:
parent
3c693c0b8d
commit
e0c86f12f9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user