- Timestamp:
- May 13, 2013 7:32:36 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxvideo/vboxutils.c
r46039 r46040 254 254 uint32_t *pcBits) 255 255 { 256 unsigned i; 257 256 258 XF86ASSERT(cIndex < vboxNumStdModes, 257 259 ("cIndex = %d, vboxNumStdModes = %d\n", cIndex, 258 260 vboxNumStdModes)); 259 for ( unsignedi = cIndex; i < vboxNumStdModes - 1; ++i)261 for (i = cIndex; i < vboxNumStdModes - 1; ++i) 260 262 { 261 263 uint32_t cBits = pScrn->bitsPerPixel; … … 462 464 { 463 465 unsigned cx = 0, cy = 0, cIndex = 0; 466 unsigned i; 464 467 /* For reasons related to the way RandR 1.1 is implemented, we need to 465 468 * make sure that the initial mode (more precisely, a mode equal to the … … 490 493 /* And finally any modes specified by the user. We assume here that 491 494 * the mode names reflect the mode sizes. */ 492 unsigned i;493 495 for (i = 0; pScrn->display->modes && pScrn->display->modes[i]; i++) 494 496 {
Note:
See TracChangeset
for help on using the changeset viewer.