commit | 6bbc745ddef3f7a332349e034492aa0feae39007 | [log] [tgz] |
---|---|---|
author | Alexandre Julliard <julliard@winehq.org> | Sun Jul 22 23:13:08 2001 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Sun Jul 22 23:13:08 2001 +0000 |
tree | ed72f581e8869a838899aa9750b9a0a088933938 | |
parent | ef06b4a694ac020c0286f3a6cea61bdc73d883bf [diff] [blame] |
Moved the 16-bit pointer to the DIB bits out of the driver-specific structure and into the main bitmap structure. Removed CreateDIBSection16 from the driver interface.
diff --git a/objects/bitmap.c b/objects/bitmap.c index 7ca2f11..ce00d7a 100644 --- a/objects/bitmap.c +++ b/objects/bitmap.c
@@ -138,6 +138,7 @@ bmp->funcs = NULL; bmp->physBitmap = NULL; bmp->dib = NULL; + bmp->segptr_bits = 0; if (bits) /* Set bitmap bits */ SetBitmapBits( hbitmap, height * bmp->bitmap.bmWidthBytes,