Stefan Dösinger : wined3d: Fix a typo in the surface code.

Alexandre Julliard julliard at winehq.org
Thu Sep 20 10:30:08 CDT 2007


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

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Wed Sep 19 00:36:39 2007 +0200

wined3d: Fix a typo in the surface code.

---

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

diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 6c090b7..1ab0c72 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -246,7 +246,7 @@ static void surface_allocate_surface(IWineD3DSurfaceImpl *This, GLenum internal,
              */
             glPixelStorei(GL_UNPACK_CLIENT_STORAGE_APPLE, GL_FALSE);
             checkGLcall("glPixelStorei(GL_UNPACK_CLIENT_STORAGE_APPLE, GL_FALSE)");
-            This->Flags &= SFLAG_CLIENT;
+            This->Flags &= ~SFLAG_CLIENT;
             enable_client_storage = TRUE;
         } else {
             This->Flags |= SFLAG_CLIENT;




More information about the wine-cvs mailing list