Sfoglia il codice sorgente

use ImageTransferState

tags/mesa_3_5
Brian Paul 26 anni fa
parent
commit
9b61162d43
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      src/mesa/drivers/glide/fxdd.c

+ 1
- 1
src/mesa/drivers/glide/fxdd.c Vedi File

@@ -535,7 +535,7 @@ static GLboolean fxDDReadPixels( GLcontext *ctx, GLint x, GLint y,
const struct gl_pixelstore_attrib *packing,
GLvoid *dstImage )
{
if (ctx->Pixel.ScaleOrBiasRGBA || ctx->Pixel.MapColorFlag) {
if (ctx->ImageTransferState) {
return GL_FALSE; /* can't do this */
}
else {

Loading…
Annulla
Salva