ddraw: Return appropriate value for non matching 32 bit pixel format in PixelFormat_DD2WineD3D (coverity).

This commit is contained in:
Frédéric Delanoy 2012-11-23 19:36:14 +01:00 committed by Alexandre Julliard
parent 696950b581
commit 80d3010099

View file

@ -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");