mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-21 15:34:10 +00:00
wineps: Fix SetPixel implementation.
This commit is contained in:
parent
747fa33bbb
commit
20be5ecd40
|
@ -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
|
/* we bracket the setcolor in gsave/grestore so that we don't trash
|
||||||
the current pen colour */
|
the current pen colour */
|
||||||
PSDRV_WriteGSave(dev);
|
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_CreateColor( dev, &pscolor, color );
|
||||||
PSDRV_WriteSetColor( dev, &pscolor );
|
PSDRV_WriteSetColor( dev, &pscolor );
|
||||||
PSDRV_WriteFill( dev );
|
PSDRV_WriteFill( dev );
|
||||||
|
|
Loading…
Reference in a new issue