From 8ba0927276d24bd4e5e67f14f45cdec96769e504 Mon Sep 17 00:00:00 2001 From: marco Date: Sun, 8 Aug 2010 14:54:26 +0000 Subject: * Patch from Nikolay (GetScanLineVESA256 reads from the write window, instead of the read window) mantis 17132 git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@15748 3ad0048d-3df7-0310-abae-a5850022a9f2 --- packages/graph/src/go32v2/vesa.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/graph') diff --git a/packages/graph/src/go32v2/vesa.inc b/packages/graph/src/go32v2/vesa.inc index 185382175d..73dde9ee47 100644 --- a/packages/graph/src/go32v2/vesa.inc +++ b/packages/graph/src/go32v2/vesa.inc @@ -515,7 +515,7 @@ end; {$endif logging} For l := 0 to (Bankrest div 4)-1 Do begin - pixels := MemL[WinWriteSeg:word(offs)+l*4]; + pixels := MemL[WinReadSeg:word(offs)+l*4]; WordArray(Data)[index+l*4] := pixels and $ff; pixels := pixels shr 8; WordArray(Data)[index+l*4+1] := pixels and $ff; -- cgit v1.2.1