mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-23 04:33:24 +00:00
Merge branch 'osx-video-fix'
This commit is contained in:
commit
0e667be7be
@ -1636,6 +1636,11 @@ bool VideoInit(bool classic)
|
|||||||
ErrorAlert(STR_UNSUPP_DEPTH_ERR);
|
ErrorAlert(STR_UNSUPP_DEPTH_ERR);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 15-bit color does not seem to work on OS X
|
||||||
|
int *list_end = std::remove(avail_depths, avail_depths + num_depths,
|
||||||
|
15);
|
||||||
|
num_depths = list_end - avail_depths;
|
||||||
std::sort(avail_depths, avail_depths + num_depths);
|
std::sort(avail_depths, avail_depths + num_depths);
|
||||||
|
|
||||||
#ifdef ENABLE_FBDEV_DGA
|
#ifdef ENABLE_FBDEV_DGA
|
||||||
|
Loading…
Reference in New Issue
Block a user