H. Verbeet : wined3d: Use WINED3DISSUE_BEGIN / WINED3DISSUE_END rather than D3DISSUE_BEGIN / D3DISSUE_END.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Feb 15 12:52:18 CST 2007


Module: wine
Branch: master
Commit: 618dc7da1f6412e6864ce0d89d84c079dde66e87
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=618dc7da1f6412e6864ce0d89d84c079dde66e87

Author: H. Verbeet <hverbeet at gmail.com>
Date:   Thu Feb 15 13:32:06 2007 +0100

wined3d: Use WINED3DISSUE_BEGIN / WINED3DISSUE_END rather than D3DISSUE_BEGIN / D3DISSUE_END.

---

 dlls/wined3d/query.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/wined3d/query.c b/dlls/wined3d/query.c
index 9dafb12..41bebf6 100644
--- a/dlls/wined3d/query.c
+++ b/dlls/wined3d/query.c
@@ -354,11 +354,11 @@ static HRESULT  WINAPI IWineD3DQueryImpl_Issue(IWineD3DQuery* iface,  DWORD dwIs
     switch (This->type) {
         case WINED3DQUERYTYPE_OCCLUSION:
             if (GL_SUPPORT(ARB_OCCLUSION_QUERY)) {
-                if (dwIssueFlags & D3DISSUE_BEGIN) {
+                if (dwIssueFlags & WINED3DISSUE_BEGIN) {
                     GL_EXTCALL(glBeginQueryARB(GL_SAMPLES_PASSED_ARB, ((WineQueryOcclusionData *)This->extendedData)->queryId));
                     checkGLcall("glBeginQuery()");
                 }
-                if (dwIssueFlags & D3DISSUE_END) {
+                if (dwIssueFlags & WINED3DISSUE_END) {
                     GL_EXTCALL(glEndQueryARB(GL_SAMPLES_PASSED_ARB));
                     checkGLcall("glEndQuery()");
                 }




More information about the wine-cvs mailing list