Lines Matching refs:newbuf
837 unsigned char *newbuf, *srcbuf; in SCR_RSShot_f() local
879 newbuf = malloc(glheight * glwidth * 3); in SCR_RSShot_f()
881 glReadPixels (glx, gly, glwidth, glheight, GL_RGB, GL_UNSIGNED_BYTE, newbuf ); in SCR_RSShot_f()
890 dest = newbuf + (w*3 * y); in SCR_RSShot_f()
904 src = newbuf + (glwidth * 3 * dy) + dx * 3; in SCR_RSShot_f()
923 src = newbuf + (w * 3 * y); in SCR_RSShot_f()
924 dest = newbuf + (w * y); in SCR_RSShot_f()
935 SCR_DrawStringToSnap (st, newbuf, w - strlen(st)*8, h - 1, w); in SCR_RSShot_f()
939 SCR_DrawStringToSnap (st, newbuf, w - strlen(st)*8, h - 11, w); in SCR_RSShot_f()
943 SCR_DrawStringToSnap (st, newbuf, w - strlen(st)*8, h - 21, w); in SCR_RSShot_f()
945 WritePCXfile (pcxname, newbuf, w, h, w, host_basepal, true); in SCR_RSShot_f()
947 free(newbuf); in SCR_RSShot_f()