diff options
author | Daniel Stone <daniel@fooishbar.org> | 2006-06-03 09:46:27 +0000 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2006-06-03 09:46:27 +0000 |
commit | 3b07dd7f43be7c1263f80eb279605a89c860dc4b (patch) | |
tree | 3235e27e0bd6f3c2083347ce48a1dc294ec76c48 | |
parent | a7315a314fa647a427805dc51f29558f6c607faa (diff) |
Don't call VBEGetSetDACPaletteFormat when running in direct colour or YUVxf86-video-vesa-1_2_1
modes. (David Sterratt) Bump to 1.2.1.
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/vesa.c | 3 |
3 files changed, 12 insertions, 2 deletions
@@ -1,3 +1,12 @@ +2006-06-03 Daniel Stone <daniel@freedesktop.org> + + * configure.ac: + Bump to 1.2.1. + + * src/vesa.c: + Don't call VBEGetSetDACPaletteFormat when running in direct colour or + YUV modes. (David Sterratt) + 2006-05-19 Adam Jackson <ajax@freedesktop.org> * configure.ac: diff --git a/configure.ac b/configure.ac index b40a469..39b4dc5 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,7 @@ AC_PREREQ(2.57) AC_INIT([xf86-video-vesa], - 1.2.0, + 1.2.1, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xf86-video-vesa) @@ -1073,7 +1073,8 @@ VESASetMode(ScrnInfoPtr pScrn, DisplayModePtr pMode) if (data->data->XResolution != pScrn->displayWidth) VBESetLogicalScanline(pVesa->pVbe, pScrn->displayWidth); - if (pScrn->bitsPerPixel == 8 && pVesa->vbeInfo->Capabilities[0] & 0x01) + if (pScrn->bitsPerPixel == 8 && pVesa->vbeInfo->Capabilities[0] & 0x01 && + !(data->data->MemoryModel & 0x6 || data->data->MemoryModel & 0x7)) VBESetGetDACPaletteFormat(pVesa->pVbe, 8); pScrn->vtSema = TRUE; |