oops. broke the BM_PUTPIXEL coords. use PIXFMT_BGRA32 for x86, and convert the color...