We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ef385f commit 79c6868Copy full SHA for 79c6868
src/Layers/xrRender/QueryHelper.h
@@ -131,7 +131,7 @@ IC HRESULT ReleaseQuery(ID3DQuery* pQuery)
131
132
IC HRESULT CreateQuery ( ID3DQuery **ppQuery)
133
{
134
- return HW.pDevice->CreateQuery(D3D_QUERY_OCCLUSION, ppQuery);
+ return HW.pDevice->CreateQuery(D3DQUERYTYPE_OCCLUSION, ppQuery);
135
}
136
137
IC HRESULT GetData( ID3DQuery *pQuery, void *pData, UINT DataSize )
0 commit comments