mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 11:50:17 +00:00
ddraw: Return appropriate value for non matching 32 bit pixel format in PixelFormat_DD2WineD3D (coverity).
This commit is contained in:
parent
696950b581
commit
80d3010099
|
@ -446,6 +446,7 @@ enum wined3d_format_id PixelFormat_DD2WineD3D(const DDPIXELFORMAT *DDPixelFormat
|
|||
|
||||
}
|
||||
WARN("32 bit RGB pixel format does not match.\n");
|
||||
return WINED3DFMT_UNKNOWN;
|
||||
|
||||
default:
|
||||
WARN("Invalid dwRGBBitCount in Pixelformat structure.\n");
|
||||
|
|
Loading…
Reference in a new issue