mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
wined3d: Add a WineD3D_ChoosePixelFormat line.
This commit is contained in:
parent
042d0394dc
commit
0ca7d443ac
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue