diff options
| author | Pietro Gagliardi <[email protected]> | 2014-06-03 22:29:40 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-06-03 22:32:24 -0400 |
| commit | d7c37671f369301371d54acf8da3ffa6862d5982 (patch) | |
| tree | b35eed8ca2df6c7ee3ae80240780d3c475728503 /area.go | |
| parent | 3af926cf3b2e581cf3536382050e56d17f250ac2 (diff) | |
Removed the TODO on memstride: we were already using it?????? It is working correctly... No idea why that TODO was there; I know I added it when I was too tired to think though.
Diffstat (limited to 'area.go')
| -rw-r--r-- | area.go | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -351,7 +351,6 @@ func toARGB(i *image.RGBA, memory uintptr, memstride int) { rbs := (*reflect.SliceHeader)(unsafe.Pointer(&realbits)) rbs.Data = memory - // TODO BUG (we're lucky this didn't break on GTK+) - use stride here rbs.Len = 4 * i.Rect.Dx() * i.Rect.Dy() rbs.Cap = rbs.Len p := pixelDataPos(i) |
