mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-11 10:30:09 +00:00
HACK fix for Issue #17: Thousands of Colors not working on OSX
This commit is contained in:
parent
53cadd7fd0
commit
80a30aeca1
@ -22,6 +22,10 @@
|
||||
#include "video.h"
|
||||
#include "video_blit.h"
|
||||
|
||||
#if USE_SDL_VIDEO
|
||||
#include <SDL.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@ -504,11 +508,14 @@ bool Screen_blitter_init(VisualFormat const & visual_format, bool native_byte_or
|
||||
// Windowed 1-bit mode uses a 1-bit X image, so there's no need for special blitting routines
|
||||
Screen_blit = Blit_Copy_Raw;
|
||||
|
||||
/* // dludwig@pobox.com, TODO: This works on OSX (64-bit, at least), but not Linux (32-bit?). Why?
|
||||
#if __MACOSX__
|
||||
// dludwig@pobox.com, HACK: This works on OSX (64-bit, at least), but not Linux (32-bit?). Why?
|
||||
// To note, __MACOSX__ is an SDL-declared macro (for platform identification at compile time).
|
||||
} else if (mac_depth == 16) {
|
||||
|
||||
Screen_blit = Blit_Copy_Raw;
|
||||
*/
|
||||
|
||||
#endif
|
||||
|
||||
} else {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user