skelterjohn/go.wde — pull request #19 by errnoh (2012-10-21 11:04:17+00:00)
Title: Win.DIB coordinates starting from bottom left.

Yeah sorry about this.

Win.DIB starts coordinates from bottom left it seems (w32.BITMAPINFOHEADER can configure that by passing negative BiHeight) and in the new DIB the PixOffset didn't take this into account, resulting in mirrored images when using wde/win. Kinda went under the radar since At(x,y) showed right color in each position.

Changed the PixOffset back to the old one (except 32bit instead of 24bit) and wdetest now shows same image for both xgb and win.