1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 20:06:18 +00:00

wineps: Fix SetPixel implementation.

This commit is contained in:
Piotr Caban 2023-04-13 20:00:21 +02:00 committed by Alexandre Julliard
parent 747fa33bbb
commit 20be5ecd40

View File

@ -440,7 +440,7 @@ COLORREF CDECL PSDRV_SetPixel( PHYSDEV dev, INT x, INT y, COLORREF color )
/* we bracket the setcolor in gsave/grestore so that we don't trash
the current pen colour */
PSDRV_WriteGSave(dev);
PSDRV_WriteRectangle( dev, pt.x, pt.y, 0, 0 );
PSDRV_WriteRectangle( dev, pt.x, pt.y, 1, 1 );
PSDRV_CreateColor( dev, &pscolor, color );
PSDRV_WriteSetColor( dev, &pscolor );
PSDRV_WriteFill( dev );