diff --git a/src/nv_accel_common.c b/src/nv_accel_common.c index 76697a6..90b096c 100644 --- a/src/nv_accel_common.c +++ b/src/nv_accel_common.c @@ -256,6 +256,14 @@ NVAccelInitRectangle(NVPtr pNv) NVDmaNext (pNv, NvImagePattern); NVDmaStart(pNv, NvSubRectangle, NV04_GDI_RECTANGLE_TEXT_OPERATION, 1); NVDmaNext (pNv, 1 /* ROP_AND */); + NVDmaStart(pNv, NvSubRectangle, + 0x304 /*NV04_GDI_RECTANGLE_SET_MONOCHROME_FORMAT*/, 1); + /* XXX why putting 1 like renouveau dump, swap the text */ +#if 1 || X_BYTE_ORDER == X_BIG_ENDIAN + NVDmaNext (pNv, 2 /* NV04_GDI_RECTANGLE_BIGENDIAN/LE_M1 */); +#else + NVDmaNext (pNv, 1 /* NV04_GDI_RECTANGLE_LOWENDIAN/CGA6_M1 */); +#endif return TRUE; }