Skip to content

Commit 79c6868

Browse files
committed
QueryHelper: Fix R2 enum.
1 parent 6ef385f commit 79c6868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Layers/xrRender/QueryHelper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ IC HRESULT ReleaseQuery(ID3DQuery* pQuery)
131131

132132
IC HRESULT CreateQuery ( ID3DQuery **ppQuery)
133133
{
134-
return HW.pDevice->CreateQuery(D3D_QUERY_OCCLUSION, ppQuery);
134+
return HW.pDevice->CreateQuery(D3DQUERYTYPE_OCCLUSION, ppQuery);
135135
}
136136

137137
IC HRESULT GetData( ID3DQuery *pQuery, void *pData, UINT DataSize )

0 commit comments

Comments
 (0)