Lines Matching defs:pcurrentmode
38 vmode_t *pcurrentmode = NULL;
211 if (pcurrentmode == NULL)
224 if (pnewmode == pcurrentmode)
228 poldmode = pcurrentmode;
229 pcurrentmode = pnewmode;
231 vid.width = pcurrentmode->width;
232 vid.height = pcurrentmode->height;
233 vid.aspect = pcurrentmode->aspect;
234 vid.rowbytes = pcurrentmode->rowbytes;
236 stat = (*pcurrentmode->setmode) (&vid, pcurrentmode);
252 pcurrentmode = poldmode;
253 vid.width = pcurrentmode->width;
254 vid.height = pcurrentmode->height;
255 vid.aspect = pcurrentmode->aspect;
256 vid.rowbytes = pcurrentmode->rowbytes;
265 (*pcurrentmode->setpalette) (&vid, pcurrentmode, palette);
289 (*pcurrentmode->setpalette)(&vid, pcurrentmode, vid_current_palette);
337 (*pcurrentmode->swapbuffers)(&vid, pcurrentmode, rects);
507 if (!vid.direct || !pcurrentmode)
516 (*pcurrentmode->begindirectrect) (&vid, pcurrentmode, x, y, pbitmap, width,
529 if (!vid.direct || !pcurrentmode)
538 (*pcurrentmode->enddirectrect) (&vid, pcurrentmode, x, y, width, height);