mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-08 19:38:04 +02:00
Check the gamma value, not its address.
This commit is contained in:
parent
592d814ee0
commit
70b2d6cfeb
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue