wined3d: Add a WineD3D_ChoosePixelFormat line.
This commit is contained in:
parent
042d0394dc
commit
0ca7d443ac
|
@ -121,6 +121,9 @@ static int WineD3D_ChoosePixelFormat(IWineD3DDeviceImpl *This, HDC hdc, WINED3DF
|
|||
int nCfgs = This->adapter->nCfgs;
|
||||
WineD3D_PixelFormat *cfgs = This->adapter->cfgs;
|
||||
|
||||
TRACE("ColorFormat=%s, DepthStencilFormat=%s, auxBuffers=%d, numSamples=%d, pbuffer=%d, findCompatible=%d\n",
|
||||
debug_d3dformat(ColorFormat), debug_d3dformat(DepthStencilFormat), auxBuffers, numSamples, pbuffer, findCompatible);
|
||||
|
||||
if(!getColorBits(ColorFormat, &redBits, &greenBits, &blueBits, &alphaBits, &colorBits)) {
|
||||
ERR("Unable to get color bits for format %s (%#x)!\n", debug_d3dformat(ColorFormat), ColorFormat);
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue