diff options
author | unknown <ken@.(none)> | 2012-02-25 15:07:08 +0000 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2012-03-15 11:54:23 +0000 |
commit | b28494adf4f9a7440aecd4ffa26f53d35fa39842 (patch) | |
tree | 114292dc01c223ffa21c7a4297c28f140b4dafda | |
parent | 1ba034503a907ee80ce5c8f5ef5996548f52a38a (diff) |
Bug #692880 Correct the initial Windows display device flags for PCL
The flags used for the Windows display device were incorrect and caused
at least some rasterops not to display correctly.
No expetced differences, the display device, and Windows builds, are not
cluster tested.
-rw-r--r-- | pl/dwmainc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pl/dwmainc.c b/pl/dwmainc.c index f4fcbe873..5c21d55be 100644 --- a/pl/dwmainc.c +++ b/pl/dwmainc.c @@ -386,7 +386,7 @@ static int main_utf8(int argc, char *argv[]) sprintf(ddpi, "-dDisplayResolution=%d", GetDeviceCaps(hdc, LOGPIXELSY)); ReleaseDC(NULL, hdc); if (depth == 32) - format = DISPLAY_COLORS_RGB | DISPLAY_UNUSED_LAST | + format = DISPLAY_COLORS_RGB | DISPLAY_DEPTH_8 | DISPLAY_BIGENDIAN | DISPLAY_BOTTOMFIRST; else if (depth == 16) format = DISPLAY_COLORS_NATIVE | DISPLAY_ALPHA_NONE | |