d3d1x: fix CheckMultisampleQualityLevels

This commit is contained in:
Luca Barbieri 2010-09-23 20:24:20 +02:00
parent 0e40b41cee
commit 0f4ec3f72c

View file

@ -327,7 +327,10 @@ struct GalliumD3D11ScreenImpl : public GalliumD3D11Screen
{
SYNCHRONIZED;
*pcount = 0;
if(sample_count == 1)
*pcount = 1;
else
*pcount = 0;
return S_OK;
}