Ken Thomases : wined3d:
Do not block waiting for occlusion query result in GetData.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Jan 12 05:39:03 CST 2007
Module: wine
Branch: master
Commit: 94be42eb2dc384c7c1fd33c13e448ea4b06b821b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=94be42eb2dc384c7c1fd33c13e448ea4b06b821b
Author: Ken Thomases <ken at codeweavers.com>
Date: Thu Jan 11 16:48:15 2007 -0600
wined3d: Do not block waiting for occlusion query result in GetData.
---
dlls/wined3d/query.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/query.c b/dlls/wined3d/query.c
index 32cacd6..9dafb12 100644
--- a/dlls/wined3d/query.c
+++ b/dlls/wined3d/query.c
@@ -170,7 +170,7 @@ static HRESULT WINAPI IWineD3DQueryImpl
checkGLcall("glGetQueryObjectuivARB(GL_QUERY_RESULT_AVAILABLE)\n");
TRACE("(%p) : available %d.\n", This, available);
- if (available || dwGetDataFlags & WINED3DGETDATA_FLUSH) {
+ if (available) {
GL_EXTCALL(glGetQueryObjectuivARB(queryId, GL_QUERY_RESULT_ARB, &samples));
checkGLcall("glGetQueryObjectuivARB(GL_QUERY_RESULT)\n");
TRACE("(%p) : Returning %d samples.\n", This, samples);
More information about the wine-cvs
mailing list