Searched refs:readSurface (Results 1 – 1 of 1) sorted by relevance
1501 const GGLSurface& readSurface = c->rasterizer.state.buffers.read.s; in glReadPixels() local1502 if ((x+width > GLint(readSurface.width)) || in glReadPixels()1503 (y+height > GLint(readSurface.height))) { in glReadPixels()1531 ggl->bindTexture(ggl, &readSurface); // source is read-buffer in glReadPixels()1532 ggl->texCoord2i(ggl, x, readSurface.height - (y + height)); in glReadPixels()