Skip to content

Commit

Permalink
QueryHelper: Fix R2 enum.
Browse files Browse the repository at this point in the history
  • Loading branch information
CrossVR committed Nov 26, 2015
1 parent 6ef385f commit 79c6868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Layers/xrRender/QueryHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ IC HRESULT ReleaseQuery(ID3DQuery* pQuery)

IC HRESULT CreateQuery ( ID3DQuery **ppQuery)
{
return HW.pDevice->CreateQuery(D3D_QUERY_OCCLUSION, ppQuery);
return HW.pDevice->CreateQuery(D3DQUERYTYPE_OCCLUSION, ppQuery);
}

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

0 comments on commit 79c6868

Please sign in to comment.