From 20be5ecd401c08ed1de3e93f8314390b00d33d50 Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Thu, 13 Apr 2023 20:00:21 +0200 Subject: [PATCH] wineps: Fix SetPixel implementation. --- dlls/wineps.drv/graphics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wineps.drv/graphics.c b/dlls/wineps.drv/graphics.c index 94ae51d5764..fc7dcb9fec8 100644 --- a/dlls/wineps.drv/graphics.c +++ b/dlls/wineps.drv/graphics.c @@ -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 );