Stefan Dösinger : wined3d: Fix a typo.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Sep 25 14:45:30 CDT 2006
Module: wine
Branch: master
Commit: 0ce3c59477bb3ccfbff89918bec363b919f5bca1
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=0ce3c59477bb3ccfbff89918bec363b919f5bca1
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Sat Sep 23 23:56:13 2006 +0200
wined3d: Fix a typo.
---
dlls/wined3d/surface_gdi.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/surface_gdi.c b/dlls/wined3d/surface_gdi.c
index 9609ebd..f9b20c1 100644
--- a/dlls/wined3d/surface_gdi.c
+++ b/dlls/wined3d/surface_gdi.c
@@ -1516,7 +1516,7 @@ IWineGDISurfaceImpl_PrivateSetup(IWineD3
This->resource.allocatedMemory = NULL;
/* We don't mind the nonpow2 stuff in GDI */
- This->resource.size = This->currentDesc.Width * getFormatDescEntry(This->resource.format)->bpp * This->currentDesc.Width;
+ This->resource.size = This->currentDesc.Width * getFormatDescEntry(This->resource.format)->bpp * This->currentDesc.Height;
This->pow2Size = This->resource.size;
This->pow2Width = This->currentDesc.Width;
This->pow2Height = This->currentDesc.Height;
More information about the wine-cvs
mailing list