diff options
Diffstat (limited to 'area_windows.go')
| -rw-r--r-- | area_windows.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/area_windows.go b/area_windows.go index 5f69b6c..a0b855d 100644 --- a/area_windows.go +++ b/area_windows.go @@ -109,7 +109,7 @@ func paintArea(s *sysData) { // we don't have a choice but to convert it ourselves // TODO make realbits a part of sysData to conserve memory realbits := make([]byte, 4 * i.Rect.Dx() * i.Rect.Dy()) - p := 0 + p := pixelDataPos(i) q := 0 for y := i.Rect.Min.Y; y < i.Rect.Max.Y; y++ { nextp := p + i.Stride |
