Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: vitorhnn/wine

Tags

<[email protected]>

Toggle <[email protected]>'s commit message
winex11: Copy icon color table in 256-color mode (Valgrind)

create_icon_pixmaps calls GetDIBits and create_pixmap_from_image, which
calls get_dib_info_size. GetDIBits sets biClrUsed to 0, which is a
special value meaning that the size of the color table is the maximum
size possible given the bit depth. Without code to handle that case in
get_dib_info_size, the color table is lost.

gdi32's version of get_dib_info_size does not have to deal with
biClrUsed being zero because bitmapinfo_from_user_bitmapinfo makes a
copy of the bitmap info with biClrUsed set to a nonzero value. However,
there is no reason to have anything that complicated in winex11.

Signed-off-by: Alex Henrie <[email protected]>

wine-3.15

Toggle wine-3.15's commit message
Release 3.15

wine-3.14

Toggle wine-3.14's commit message
Release 3.14

wine-3.13

Toggle wine-3.13's commit message
Release 3.13

wine-3.12

Toggle wine-3.12's commit message
Release 3.12

wine-3.0.2

Toggle wine-3.0.2's commit message
Release 3.0.2

wine-3.11

Toggle wine-3.11's commit message
Release 3.11

wine-3.10

Toggle wine-3.10's commit message
Release 3.10

wine-3.9

Toggle wine-3.9's commit message
Release 3.9

wine-3.0.1

Toggle wine-3.0.1's commit message
Release 3.0.1