Searched refs:pLines2 (Results 1 – 1 of 1) sorted by relevance
753 unsigned char *pLines2; in ApiScreenCaptureBuffer() local758 pLines2 = (unsigned char *)calloc(4 * Width * Height, sizeof(unsigned char)); in ApiScreenCaptureBuffer()759 if (!pLines2) return false; in ApiScreenCaptureBuffer()763 glReadPixels(0, 0, Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, pLines2); in ApiScreenCaptureBuffer()774 pBuf[i] = pLines2[j+2]; in ApiScreenCaptureBuffer()775 pBuf[i+1] = pLines2[j+1]; in ApiScreenCaptureBuffer()776 pBuf[i+2] = pLines2[j]; in ApiScreenCaptureBuffer()780 free(pLines2); in ApiScreenCaptureBuffer()