Browse Source

* Patch from Nikolay (GetScanLineVESA256 reads from the write window, instead of the read window) mantis 17132

git-svn-id: trunk@15748 -
marco 15 years ago
parent
commit
6e5c32a481
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/graph/src/go32v2/vesa.inc

+ 1 - 1
packages/graph/src/go32v2/vesa.inc

@@ -515,7 +515,7 @@ end;
           {$endif logging}
           {$endif logging}
           For l := 0 to (Bankrest div 4)-1 Do
           For l := 0 to (Bankrest div 4)-1 Do
             begin
             begin
-              pixels := MemL[WinWriteSeg:word(offs)+l*4];
+              pixels := MemL[WinReadSeg:word(offs)+l*4];
               WordArray(Data)[index+l*4] := pixels and $ff;
               WordArray(Data)[index+l*4] := pixels and $ff;
               pixels := pixels shr 8;
               pixels := pixels shr 8;
               WordArray(Data)[index+l*4+1] := pixels and $ff;
               WordArray(Data)[index+l*4+1] := pixels and $ff;