diff options
| author | Pietro Gagliardi <[email protected]> | 2014-04-20 23:29:38 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-04-20 23:29:38 -0400 |
| commit | 44b061aa316cc03e644a0de649e416dc1aba4758 (patch) | |
| tree | ab6f430617cb3e5f8e4ebc12c50f74f3a5c6701a | |
| parent | 5cac12e3f0eb9d6e592c8a30817e8f5cc7b2dbe2 (diff) | |
More TODOs (because I can't think right now).
| -rw-r--r-- | area.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -355,6 +355,7 @@ 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) |
