dibsection should always be in appmod after creation.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Changelog:
	- in initial dibsection creation (x11drv), the dibsection should always
be in appmod because the app memory is initilized to zero if no offset/section
is specified, while the DIBitmap is not.

License: MIT/X11

File affected:
	graphics/x11drv/dib.c

Patch Against:
	ReWind CVS 03 may 2002.

Description:
	Observed behaviour under windows: When a blank dibsection is created,
its contents is full of 0's.  In rewind/winehq-wine it is full of garbage
(sometimes) because the dibsection is in mode "insync" but the DIBitmap is full
of garbage. The truth is that the DIBSection isn't in sync, rather the app
memory is the "newer" version, it is filled with 0's.

TransGaming Technologies, David Hammerton.

-- 
David Hammerton
programmer and support
TransGaming Technologies Inc.
http://www.transgaming.com
david@transgaming.com

Attachment: clear_dib.diff
Description: application/unknown


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux