summaryrefslogtreecommitdiff
path: root/area.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-03 22:29:40 -0400
committerPietro Gagliardi <[email protected]>2014-06-03 22:32:24 -0400
commitd7c37671f369301371d54acf8da3ffa6862d5982 (patch)
treeb35eed8ca2df6c7ee3ae80240780d3c475728503 /area.go
parent3af926cf3b2e581cf3536382050e56d17f250ac2 (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.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/area.go b/area.go
index 4fc7b13..90c32da 100644
--- a/area.go
+++ b/area.go
@@ -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)