Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions BasiliskII/src/Unix/video_x.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1636,6 +1636,11 @@ bool VideoInit(bool classic)
ErrorAlert(STR_UNSUPP_DEPTH_ERR);
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);

#ifdef ENABLE_FBDEV_DGA
Expand Down