Use NSIMAGE graphics mode for MacOS X on Intel platforms for now. Otherwise

it's crashing in some Apple code.
This commit is contained in:
gbeauche 2007-06-30 07:33:30 +00:00
parent 7f2dfe7f4f
commit 35bf8b2c25

View File

@ -24,8 +24,13 @@
/* Set the strategy for drawing the bitmap in the Mac OS X window */ /* Set the strategy for drawing the bitmap in the Mac OS X window */
//#define CGDRAWBITMAP //#define CGDRAWBITMAP
#if defined __i386__
//#define CGIMAGEREF
#define NSBITMAP
#else
#define CGIMAGEREF #define CGIMAGEREF
//#define NSBITMAP //#define NSBITMAP
#endif
// Using Core Graphics is fastest when rendering 32bit data. // Using Core Graphics is fastest when rendering 32bit data.
// Using CGImageRefs allows us to use all the bitmaps that BasiliskII supports. // Using CGImageRefs allows us to use all the bitmaps that BasiliskII supports.