You must have made a mistake somewhere, because the rendered image from D and C++ are not the same! The image from the D exe has a lone white pixel (also present in the 'float' versions, both D and cpp), but that white pixel is gone in the cpp version (both dmc and msvc). L.