[Wine] Re: Divinity 2 Bug exist or is new bug? d3d:state_vertexblend_w

dj--alex wineforum-user at winehq.org
Fri Feb 4 10:25:31 CST 2011


http://bugs.winehq.org/show_bug.cgi?id=25298

i found patch report and try to use it
http://bugs2.winehq.org/attachment.cgi?id=28205

console^
al at al-desktop:~/winecompile$ patch -p1 < div2p.p 
patching file dlls/wined3d/directx.c
Hunk #1 succeeded at 4505 (offset 15 lines).
patching file dlls/wined3d/drawprim.c
Hunk #1 succeeded at 50 (offset -6 lines).
Hunk #2 succeeded at 138 with fuzz 1 (offset -6 lines).
Hunk #3 succeeded at 231 (offset -6 lines).
Hunk #4 FAILED at 379.
Hunk #5 succeeded at 768 (offset -3 lines).
1 out of 5 hunks FAILED -- saving rejects to file dlls/wined3d/drawprim.c.rej
patching file dlls/wined3d/state.c
Hunk #1 succeeded at 3771 (offset 110 lines).
Hunk #2 succeeded at 3785 with fuzz 1 (offset 110 lines).
Hunk #3 FAILED at 3763.
1 out of 3 hunks FAILED -- saving rejects to file dlls/wined3d/state.c.rej
patching file dlls/wined3d/vertexdeclaration.c
Hunk #1 succeeded at 123 (offset -2 lines).
patching file dlls/wined3d/wined3d_private.h
Hunk #1 succeeded at 1680 (offset 62 lines).
al at al-desktop:~/winecompile$ 

i don't know how to create +-  diff files  but i paste here 
patched manually  rejected files

http://wow.chg.su/inside/filemgr.php?c=8681

wine 1.3.12

ohh no... no works !!!! (((((((((((((((((((((((

when compiling i get this ^^^
-D_FORTIFY_SOURCE=0  -o device.o device.c
gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith  -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0  -o directx.o directx.c
gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith  -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0  -o drawprim.o drawprim.c
drawprim.c: In function ‘emitBlendedVertex’:
drawprim.c:66: error: ‘IWineD3DStateBlockImpl’ has no member named ‘transforms’
drawprim.c:73: error: ‘IWineD3DStateBlockImpl’ has no member named ‘transforms’
drawprim.c:82: error: ‘IWineD3DStateBlockImpl’ has no member named ‘transforms’
drawprim.c: In function ‘drawStridedSlow’:
drawprim.c:235: error: ‘This’ undeclared (first use in this function)
drawprim.c:235: error: (Each undeclared identifier is reported only once
drawprim.c:235: error: for each function it appears in.)
drawprim.c:238: error: ‘const struct wined3d_stream_info_element’ has no member named ‘format_desc’
drawprim.c:239: error: ‘const struct wined3d_stream_info_element’ has no member named ‘format_desc’
drawprim.c:240: error: ‘const struct wined3d_stream_info_element’ has no member named ‘format_desc’
drawprim.c:241: error: ‘const struct wined3d_stream_info_element’ has no member named ‘format_desc’
drawprim.c:242: error: ‘const struct wined3d_stream_info_element’ has no member named ‘format_desc’
drawprim.c:243: error: ‘const struct wined3d_stream_info_element’ has no member named ‘format_desc’
drawprim.c:246: error: ‘streamOffset’ undeclared (first use in this function)
drawprim.c:247: error: ‘const struct wined3d_stream_info_element’ has no member named ‘format_desc’
drawprim.c:251: error: ‘const struct wined3d_stream_info_element’ has no member named ‘format_desc’
drawprim.c:252: error: ‘const struct wined3d_stream_info_element’ has no member named ‘format_desc’
drawprim.c:386: error: ‘const struct wined3d_stream_info_element’ has no member named ‘format_desc’
drawprim.c:392: error: ‘const struct wined3d_stream_info_element’ has no member named ‘format_desc’
drawprim.c:406: error: invalid storage class for function ‘send_attribute’
drawprim.c:404: warning: ISO C90 forbids mixed declarations and code
drawprim.c:517: error: invalid storage class for function ‘drawStridedSlowVs’
drawprim.c:574: error: invalid storage class for function ‘drawStridedInstanced’
drawprim.c:642: error: invalid storage class for function ‘remove_vbos’
drawprim.c:847: error: invalid storage class for function ‘normalize_normal’
drawprim.c:1229: error: expected declaration or statement at end of input
make[1]: *** [drawprim.o] H81:0 1
make[1]: KE>4 87 :0B0;>30 `/home/al/winecompile/dlls/wined3d'
make: *** [dlls/wined3d] H81:0 2
al at al-desktop:~/winecompile$







More information about the wine-users mailing list