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