summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-02-17 21:40:08 -0500
committerPietro Gagliardi <[email protected]>2015-02-17 21:40:08 -0500
commitb912afe4e7fe8cc156f9c957123eb125225f3ea3 (patch)
treeb2e4c0c5043def81a7ceacab7f1b3ee7187716d3
parentc59cbf6de7334615ebbb917a6ec3ae8e6a0639f3 (diff)
More TODOs.
-rw-r--r--area_windows.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/area_windows.go b/area_windows.go
index bf4b9e9..bd3254f 100644
--- a/area_windows.go
+++ b/area_windows.go
@@ -123,6 +123,7 @@ func dotoARGB(img unsafe.Pointer, ppvBits unsafe.Pointer, toNRGBA C.BOOL) {
i := (*image.RGBA)(unsafe.Pointer(img))
t := toNRGBA != C.FALSE
// the bitmap Windows gives us has a stride == width
+ // TODO use GetObject() and get the stride from the resultant BITMAP to be *absolutely* sure
toARGB(i, uintptr(ppvBits), i.Rect.Dx()*4, t)
}