File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,12 @@ IC HRESULT EndQuery( ID3DQuery *pQuery)
8787 return S_OK ;
8888}
8989
90+ IC HRESULT ReleaseQuery (ID3DQuery * pQuery )
91+ {
92+ _RELEASE (pQuery );
93+ return S_OK ;
94+ }
95+
9096#elif defined(USE_DX10 )
9197
9298IC HRESULT CreateQuery ( ID3DQuery * * ppQuery )
@@ -115,6 +121,12 @@ IC HRESULT EndQuery( ID3DQuery *pQuery)
115121 return S_OK ;
116122}
117123
124+ IC HRESULT ReleaseQuery (ID3DQuery * pQuery )
125+ {
126+ _RELEASE (pQuery );
127+ return S_OK ;
128+ }
129+
118130#else // USE_DX10
119131
120132IC HRESULT CreateQuery ( ID3DQuery * * ppQuery )
@@ -137,6 +149,12 @@ IC HRESULT EndQuery( ID3DQuery *pQuery)
137149 return pQuery -> Issue ( D3DISSUE_END );
138150}
139151
152+ IC HRESULT ReleaseQuery (ID3DQuery * pQuery )
153+ {
154+ _RELEASE (pQuery );
155+ return S_OK ;
156+ }
157+
140158#endif // USE_DX10
141159
142160#endif // QueryHelper_included
You can’t perform that action at this time.
0 commit comments