Check the gamma value, not its address.
This commit is contained in:
parent
592d814ee0
commit
70b2d6cfeb
|
@ -211,7 +211,7 @@ print_display(int scrnIndex, struct disp_features *disp,
|
||||||
xf86DrvMsg(scrnIndex, X_INFO, "Indeterminate output size\n");
|
xf86DrvMsg(scrnIndex, X_INFO, "Indeterminate output size\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!gamma && v->revision >= 1.4)
|
if (!disp->gamma && v->revision >= 1.4)
|
||||||
xf86DrvMsg(scrnIndex, X_INFO, "Gamma defined in extension block\n");
|
xf86DrvMsg(scrnIndex, X_INFO, "Gamma defined in extension block\n");
|
||||||
else
|
else
|
||||||
xf86DrvMsg(scrnIndex, X_INFO, "Gamma: %.2f\n", disp->gamma);
|
xf86DrvMsg(scrnIndex, X_INFO, "Gamma: %.2f\n", disp->gamma);
|
||||||
|
|
Loading…
Reference in New Issue