summaryrefslogtreecommitdiff
path: root/packages/graph
diff options
context:
space:
mode:
authormarco <marco@3ad0048d-3df7-0310-abae-a5850022a9f2>2010-08-08 14:54:26 +0000
committermarco <marco@3ad0048d-3df7-0310-abae-a5850022a9f2>2010-08-08 14:54:26 +0000
commit8ba0927276d24bd4e5e67f14f45cdec96769e504 (patch)
treedb098b3f9a3c281da9a2a80fdb6cd23fb68a821e /packages/graph
parent2828b3533826beb376306d433e0877242bf77156 (diff)
downloadfpc-8ba0927276d24bd4e5e67f14f45cdec96769e504.tar.gz
* 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
Diffstat (limited to 'packages/graph')
-rw-r--r--packages/graph/src/go32v2/vesa.inc2
1 files changed, 1 insertions, 1 deletions
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;