Stefan Dösinger : wined3d: glReadPixels corrections.

Alexandre Julliard julliard at wine.codeweavers.com
Sat Nov 4 13:32:32 CST 2006


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

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Fri Nov  3 19:12:27 2006 +0100

wined3d: glReadPixels corrections.

---

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

diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 481517e..59398b3 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -6440,8 +6440,8 @@ static HRESULT  WINAPI  IWineD3DDeviceIm
             FIXME("Reading of depthstencil not yet supported\n");
         }
 
-        glReadPixels(surfaceGlDescription->target,
-                    surfaceGlDescription->level,
+        glReadPixels(0,
+                    0,
                     surfaceWidth,
                     surfaceHeight,
                     surfaceGlDescription->glFormat,




More information about the wine-cvs mailing list