mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-26 23:25:08 +00:00
Check the gamma value, not its address.
This commit is contained in:
@@ -211,7 +211,7 @@ print_display(int scrnIndex, struct disp_features *disp,
|
||||
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");
|
||||
else
|
||||
xf86DrvMsg(scrnIndex, X_INFO, "Gamma: %.2f\n", disp->gamma);
|
||||
|
||||
Reference in New Issue
Block a user