mirror of
https://github.com/reactos/wine.git
synced 2025-02-05 11:40:06 +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…
x
Reference in New Issue
Block a user