equal
deleted
inserted
replaced
1584 QZ_DrawWindow(); |
1584 QZ_DrawWindow(); |
1585 } |
1585 } |
1586 } |
1586 } |
1587 |
1587 |
1588 |
1588 |
1589 static const OTTDPoint _default_resolutions[] = { |
1589 static const PointRaw _default_resolutions[] = { |
1590 { 640, 480}, |
1590 { 640, 480}, |
1591 { 800, 600}, |
1591 { 800, 600}, |
1592 {1024, 768}, |
1592 {1024, 768}, |
1593 {1152, 864}, |
1593 {1152, 864}, |
1594 {1280, 800}, |
1594 {1280, 800}, |
1602 |
1602 |
1603 static void QZ_UpdateVideoModes(void) |
1603 static void QZ_UpdateVideoModes(void) |
1604 { |
1604 { |
1605 uint i, j, count; |
1605 uint i, j, count; |
1606 OTTDPoint modes[32]; |
1606 OTTDPoint modes[32]; |
1607 const OTTDPoint *current_modes; |
1607 const PointRaw *current_modes; |
1608 |
1608 |
1609 if (_cocoa_video_data.fullscreen) { |
1609 if (_cocoa_video_data.fullscreen) { |
1610 count = QZ_ListFullscreenModes(modes, 32); |
1610 count = QZ_ListFullscreenModes(modes, 32); |
1611 current_modes = modes; |
1611 current_modes = modes; |
1612 } else { |
1612 } else { |