Ticket #2337: vesa.accelerant.diff
File vesa.accelerant.diff, 727 bytes (added by , 14 years ago) |
---|
-
src/add-ons/accelerants/vesa/mode.cpp
139 139 if (vesa_propose_display_mode(&mode, &mode, &mode) != B_OK) 140 140 return B_BAD_VALUE; 141 141 142 vesa_mode* modes = gInfo->vesa_modes;142 /* vesa_mode* modes = gInfo->vesa_modes; 143 143 for (uint32 i = gInfo->shared_info->vesa_mode_count; i-- > 0;) { 144 144 // search mode in VESA mode list 145 145 // TODO: list is ordered, we could use binary search … … 149 149 == mode.space) 150 150 return ioctl(gInfo->device, VESA_SET_DISPLAY_MODE, &i, sizeof(i)); 151 151 } 152 152 */ 153 153 return B_UNSUPPORTED; 154 154 } 155 155