summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Crouse <jordan.crouse@amd.com>2007-01-11 17:30:45 -0700
committerJordan Crouse <jordan.crouse@amd.com>2007-01-11 17:31:07 -0700
commit461c5fb1ed00101e9832b4a0236bbb51d092ddb6 (patch)
tree4a5587616c91821a800a3abc0e6b83c667f6da07
parenta212981da0147a5f277b43b801de6d2454005c17 (diff)
Broken logic on the previous Xv fix - should work now
-rw-r--r--src/amd_gx_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd_gx_video.c b/src/amd_gx_video.c
index 0ad259e..f7c6f77 100644
--- a/src/amd_gx_video.c
+++ b/src/amd_gx_video.c
@@ -927,7 +927,7 @@ GXDisplayVideo(ScrnInfoPtr pScrni,
dcfg = gfx_read_vid32(DISPLAY_CONFIG);
misc = gfx_read_vid32(MISC);
- lutflag = ((!(misc & 1)) && (!(dcfg & (1 << 21))));
+ lutflag = (!(misc & 1) && (dcfg & (1 << 21)));
if (lutflag)
get_gamma_ram(graphics_lut);