diff --git a/src/rhd_lut.c b/src/rhd_lut.c index 848ec13..b23c8c2 100644 --- a/src/rhd_lut.c +++ b/src/rhd_lut.c @@ -237,6 +237,7 @@ RHDLUTsInit(RHDPtr rhdPtr) LUT->Set = LUTxSet; rhdPtr->LUT[0] = LUT; + ErrorF("%s: LUT0: %p\n", __func__, rhdPtr->LUT[0]); LUT = xnfcalloc(sizeof(struct rhdLUT), 1); @@ -249,6 +250,7 @@ RHDLUTsInit(RHDPtr rhdPtr) LUT->Set = LUTxSet; rhdPtr->LUT[1] = LUT; + ErrorF("%s: LUT1: %p\n", __func__, rhdPtr->LUT[1]); } /* diff --git a/src/rhd_randr.c b/src/rhd_randr.c index 3fc2f14..99b0584 100644 --- a/src/rhd_randr.c +++ b/src/rhd_randr.c @@ -513,6 +513,8 @@ rhdRRCrtcGammaSet(xf86CrtcPtr crtc, CARD16 *red, CARD16 *green, CARD16 *blue, colors[i].blue = blue[i] >> 6; } + ErrorF("%s: rhdCtrc->LUT: %p->%p\n", __func__, rhdCrtc, rhdCrtc->LUT); + rhdCrtc->LUT->Set(rhdCrtc->LUT, size, indices, colors); }