(svn r11718) -Fix [FS#1483]: Show the fullscreen modes available to the cocoa driver in windowed mode too.
This commit is contained in:
@@ -660,12 +660,7 @@ void WindowQuartzSubdriver::UpdatePalette(uint first_color, uint num_colors)
|
||||
|
||||
uint WindowQuartzSubdriver::ListModes(OTTD_Point* modes, uint max_modes)
|
||||
{
|
||||
if (max_modes == 0) return 0;
|
||||
|
||||
modes[0].x = window_width;
|
||||
modes[0].y = window_height;
|
||||
|
||||
return 1;
|
||||
return QZ_ListModes(modes, max_modes, kCGDirectMainDisplay, buffer_depth);
|
||||
}
|
||||
|
||||
bool WindowQuartzSubdriver::ChangeResolution(int w, int h)
|
||||
|
||||
Reference in New Issue
Block a user