summaryrefslogtreecommitdiff
path: root/redo/area_windows.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-30 01:15:28 -0400
committerPietro Gagliardi <[email protected]>2014-08-30 01:15:28 -0400
commit4f16b9438877d353e52870cb3631509bd0677da9 (patch)
tree41aec2030b2b837a6e5aef94e9233fa4e89b9716 /redo/area_windows.c
parent432a210726f2c5b753ff430765e9b3736d8db3b2 (diff)
Fixed image lists on Windows being NON-premultiplied.
Diffstat (limited to 'redo/area_windows.c')
-rw-r--r--redo/area_windows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/redo/area_windows.c b/redo/area_windows.c
index e37538b..b8f1235 100644
--- a/redo/area_windows.c
+++ b/redo/area_windows.c
@@ -101,7 +101,7 @@ static void paintArea(HWND hwnd, void *data)
// first, we need to load the bitmap memory, because Windows makes it for us
// the pixels are arranged in RGBA order, but GDI requires BGRA
// this turns out to be just ARGB in little endian; let's convert into this memory
- dotoARGB(i, (void *) ppvBits);
+ dotoARGB(i, (void *) ppvBits, FALSE); // FALSE = not NRGBA
// the second thing is... make a device context for the bitmap :|
// Ninjifox just makes another compatible DC; we'll do the same