mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-10-14 02:24:02 +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 "video_blit.h"
|
||||||
#include "vm_alloc.h"
|
#include "vm_alloc.h"
|
||||||
|
|
||||||
#if (defined(__APPLE__) && defined(__MACH__))
|
|
||||||
#include "utils_macosx.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define DEBUG 0
|
#define DEBUG 0
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
@ -2241,12 +2237,7 @@ static inline void do_video_refresh(void)
|
|||||||
handle_events();
|
handle_events();
|
||||||
|
|
||||||
// Update display
|
// Update display
|
||||||
#if (defined(__APPLE__) && defined(__MACH__))
|
|
||||||
// SDL expects an auto-release pool to be present.
|
|
||||||
NSAutoReleasePool_wrap(video_refresh);
|
|
||||||
#else
|
|
||||||
video_refresh();
|
video_refresh();
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef SHEEPSHAVER
|
#ifdef SHEEPSHAVER
|
||||||
// Set new cursor image if it was changed
|
// Set new cursor image if it was changed
|
||||||
|
Loading…
Reference in New Issue
Block a user