Hello,
El mar, 01 de feb de 2005, a las 07:05, Oliver Stieber escribio:
The big patch won't be CVS worthy but it will have things like non-power-2 textures if anyone wants to do some testing since I've only tested against an ATI 9600.
I have "pasted" your non-power-2 textures support to d3d8 code, and now i can see the intro in tony hawks 4 demo :) (i have a Geforce 2 GTS, so your code works in NVIDIA cards :).
Now it crashes after of press start with:
wine: Unhandled exception (thread 0009), starting debugger... WineDbg starting on pid 0x8 Unhandled exception: page fault on write access to 0x00000004 in 32-bit code (0x409fe785). In 32 bit mode. Register dump: CS:0023 SS:002b DS:002b ES:002b FS:1007 GS:0007 EIP:409fe785 ESP:406cf968 EBP:406cf98c EFLAGS:00210212( - 00 - RIA1) EAX:00000004 EBX:40a16520 ECX:00000000 EDX:00000001 ESI:00000000 EDI:4039e480 Stack dump: 0x406cf968: 401ee3c0 406cf9a0 401b3fd0 4034001c 0x406cf978: 48f16240 48f16248 40a16520 00000000 0x406cf988: 4039e480 406cf9c0 409d2bec 00000000 0x406cf998: 00000000 48f16248 406cf9cc 409dc13c 0x406cf9a8: 40340000 00000002 48f16248 00000000 0x406cf9b8: 422ae310 00000000 422abab0 0042c28e 0200: sel=1007 base=40018000 limit=00001f97 32-bit rw- Backtrace: =>1 0x409fe785 IDirect3DVertexBuffer8Impl_AddRef(iface=0x0) [/mnt4/calb/wine/wine/dlls/d3d8/../../include/winbase.h:2076] in d3d8 (0x406cf98c) 2 0x409d2bec IDirect3DDevice8Impl_GetStreamSource(iface=0x4039e480, StreamNumber=0x0, pStream=0x406cf9e4, pStride=0x406cf9e8) [/mnt4/calb/wine/wine/dlls/d3d8/device.c:4442] in d3d8 (0x406cf9c0) 3 0x0042c28e in skate4demo (+0x2c28e) (0x422abab0) 4 0x65646f6d (0x0052d718) 5 0x00457ac0 in skate4demo (+0x57ac0) (0x00456320) 0x409fe785 IDirect3DVertexBuffer8Impl_AddRef+0x25 [/mnt4/calb/wine/wine/dlls/d3d8/../../include/winbase.h:2076] in d3d8: lock xaddl %edx,0x0(%eax) 2076 __asm__ __volatile__( "lock; xaddl %0,(%1)"
Regards, Carlos.