--- Peter Berg Larsen pebl@math.ku.dk wrote:
On Mon, 7 Nov 2005, Oliver Stieber wrote:
Except for the fuzzyness (which is not there running windows) I cannot see eny difference.
Can you send me a screen shot.
Hmm, pressing prntScrn with the patch cause this (which does not happen without the patch)
Hmm. I thought I'd fixed that one.
you can edit wined3d/swapchain.c function IWineD3DSwapChainImpl_GetFrontBufferData and add memset(&desc, 0, sizeof(desc)); after ENTER_GL() and before desc.Width = &width;
I'll make another patch up tomorow with that in...
Oliver
trace:d3d:IWineD3DDeviceImpl_CreateTexture xf(0.781250) yf(0.585938) trace:d3d8:D3D8CB_CreateSurface relay trace:d3d8:IDirect3DDevice8Impl_CreateSurface (0x7b5ce198) Relay trace:d3d8:IDirect3DDevice8Impl_CreateSurface (0x7b5ce198) : w(1600) h(1200) fmt(21) surf@(nil) trace:d3d:IWineD3DDeviceImpl_CreateSurface (0x7fdfa8c0) Create surface trace:d3d:D3DFmtGetBpp bytes/Pxl for fmt(21,WINED3DFMT_A8R8G8B8) = 4 trace:d3d:IWineD3DDeviceImpl_AddResource (0x7fdfa8c0) : resource 0x7b6b57c8 trace:d3d:IWineD3DDeviceImpl_AddResource Added resource 0x7b6b57c8 with element 0x7b6b5880 pointing to 0x7b6b59b8 trace:d3d:IWineD3DDeviceImpl_CreateSurface (0x7fdfa8c0) : Created resource 0x7b6b57c8 trace:d3d:D3DFmt2GLFmt fmt2glFmt for fmt(21,WINED3DFMT_A8R8G8B8) = 80e1 trace:d3d:D3DFmt2GLIntFmt fmt2glintFmt for fmt(21,WINED3DFMT_A8R8G8B8) = 8058 trace:d3d:D3DFmt2GLType fmt2glType for fmt(21,WINED3DFMT_A8R8G8B8) = 8367 trace:d3d:D3DFmtGetBpp bytes/Pxl for fmt(21,WINED3DFMT_A8R8G8B8) = 4 trace:d3d:IWineD3DDeviceImpl_CreateSurface Pool 3 0 1 2(0x7fdfa8c0)->({3c2aebf6-6f30-11d9-c687-00046142c14f},0x7fc5f504) trace:d3d:IWineD3DDeviceImpl_CreateSurface (0x7fdfa8c0) : w(1600) h(1200) fmt(21,WINED3DFMT_A8R8G8B8) lockable(0) surf@0x7b6b57c8, surfmem@0x73c20020, 16777216 bytes trace:d3d:IWineD3DDeviceImpl_CreateTexture Created surface level 0 @ 0x7b6b57c8 trace:d3d:IWineD3DDeviceImpl_CreateTexture (0x7fdfa8c0) : Created texture 0x7b6b41d0 trace:d3d8:IDirect3DDevice8Impl_CreateTexture (0x7b5ce198) Created Texture 0x7b6b59a0, 0x7b6b41d0 trace:d3d8:IDirect3DTexture8Impl_GetSurfaceLevel (0x7b6b59a0) Relay trace:d3d_texture:IWineD3DTextureImpl_GetSurfaceLevel (0x7b6b41d0) : returning 0x7b6b57c8 for level 0 trace:d3d8:IDirect3DSurface8Impl_AddRef (0x7b6b57b0) : AddRef from 1 trace:d3d8:IDirect3DDevice8Impl_GetFrontBuffer (0x7b5ce198) Relay trace:d3d:IWineD3DDeviceImpl_GetSwapChain (0x7fdfa8c0) : swapchain 0 trace:d3d:IWineD3DDeviceImpl_GetSwapChain (0x7fdfa8c0) Finding swapchain 0 trace:d3d:IWineD3DSwapChainImpl_AddRef (0x7fdf8c80) : AddRef increasing from 1 trace:d3d:IWineD3DDeviceImpl_GetSwapChain (0x7fdfa8c0) returning 0x7fdf8c80 trace:d3d:IWineD3DSwapChainImpl_GetFrontBufferData (0x7fdf8c80) : iface(0x7fdf8c80) pDestSurface(0x7b6b57c8) wine: Unhandled exception (thread 0009), starting debugger... WineDbg starting on pid 0x8 Unhandled exception: page fault on write access to 0x7eab526b in 32-bit code (0x7ead94d2). In 32 bit mode. Register dump: CS:0073 SS:007b DS:007b ES:007b FS:1007 GS:0033 EIP:7ead94d2 ESP:7fc5f5e8 EBP:7fc5f5f4 EFLAGS:00210202( - 00 - -RI1) EAX:00000003 EBX:7eb0d184 ECX:7befed40 EDX:7eab526b ESI:7fc5f604 EDI:7b6b57c8 Stack dump: 0x7fc5f5e8: 7eb0d184 7b6b57c8 7b6b57b0 7fc5f644 0x7fc5f5f8: 7eaddef9 7b6b57c8 7fc5f604 7fc5f638 0x7fc5f608: 00000000 7fc5f640 7eab526b 00000003 0x7fc5f618: 7eb0d8d0 7eaf9e00 7fc5f634 7fc5f630 0x7fc5f628: 7fdf8c80 7eb0d8d0 7eaf9e00 7eb0d184 0x7fc5f638: 00000015 7eb0d184 00000000 7fc5f660 0200: sel=1007 base=7ff08000 limit=00001fff 32-bit rw- Backtrace: =>1 0x7ead94d2 IWineD3DSurfaceImpl_GetDesc+0x52(iface=0x7b6b57c8, pDesc=0x7fc5f604) [/usr/local/src/wine/Wine-CVS/dlls/wined3d/surface.c:199] in wined3d (0x7fc5f5f4) 2 0x7eaddef9 IWineD3DSwapChainImpl_GetFrontBufferData+0x69(iface=0x7fdf8c80, pDestSurface=0x7b6b57c8) [/usr/local/src/wine/Wine-CVS/dlls/wined3d/swapchain.c:343] in wined3d (0x7fc5f644) 3 0x7eac1846 IWineD3DDeviceImpl_GetFrontBufferData+0x36(iface=0x7fdfa8c0, iSwapChain=0x0, pDestSurface=0x7b6b57c8) [/usr/local/src/wine/Wine-CVS/dlls/wined3d/device.c:4956] in wined3d (0x7fc5f660) 4 0x7f5b7a97 IDirect3DDevice8Impl_GetFrontBuffer+0x37(iface=0x7b5ce198, pDestSurface=0x7b6b57b0) [/usr/local/src/wine/Wine-CVS/dlls/d3d8/device.c:551] in d3d8 (0x7fc5f680) 5 0x00520e17 in rt3 (+0x120e17) (0x7e090020) 6 0x00400000 in rt3 (+0x0) (0x00030022) 7 0x00000000 (0x00000000) 0x7ead94d2 IWineD3DSurfaceImpl_GetDesc+0x52 [/usr/local/src/wine/Wine-CVS/dlls/wined3d/surface.c:199] in wined3d: movl %eax,0x0(%edx) 199 if(pDesc->Pool != NULL) *(pDesc->Pool) = This->resource.pool; Modules:
___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com