Hello,
On Wed, Jan 19, 2005 at 01:34:49PM -0600, Alexandre Julliard wrote:
ChangeSet ID: 15555 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard@wine.codeweavers.com 2005/01/19 13:34:49
Modified files: include/wine : wined3d_interface.h dlls/wined3d : wined3d_private.h Makefile.in Added files: dlls/wined3d : vertexdeclaration.c
Log message: Raphael Junqueira fenix@club-internet.fr Begin support of VertexDeclaration on wined3d using d3d8 code base (handling d3d8 and d3d9 specs).
This patch broke the compilation of dlls/d3d8/basetexture.c In file included from /home/michi/work/wine/dlls/d3d8/d3d8_private.h:69, from /home/michi/work/wine/dlls/d3d8/basetexture.c:31: /home/michi/work/wine/include/wine/wined3d_interface.h:877: error: syntax error before "D3DVERTEXELEMENT9"
D3DVERTEXELEMENT9 isn't defined in D3D8 and trying to include any D3D9 header was futil, introduced more problems that it solved. Attached is a quick hack to make it compile again.
bye michael
Patch: http://cvs.winehq.org/patch.py?id=15555
Old revision New revision Changes Path 1.23 1.24 +38 -9 wine/include/wine/wined3d_interface.h 1.22 1.23 +29 -18 wine/dlls/wined3d/wined3d_private.h 1.12 1.13 +1 -0 wine/dlls/wined3d/Makefile.in Added 1.1 +0 -0 wine/dlls/wined3d/vertexdeclaration.c
Hi
Hello,
This patch broke the compilation of dlls/d3d8/basetexture.c In file included from /home/michi/work/wine/dlls/d3d8/d3d8_private.h:69, from /home/michi/work/wine/dlls/d3d8/basetexture.c:31: /home/michi/work/wine/include/wine/wined3d_interface.h:877: error: syntax error before "D3DVERTEXELEMENT9"
D3DVERTEXELEMENT9 isn't defined in D3D8 and trying to include any D3D9 header was futil, introduced more problems that it solved. Attached is a quick hack to make it compile again.
bye michael
Thx,
i'm not happy with this prototypes (GetDeclaration8/9) for now i'll use a VOID* (ugly) for that waiting to have a more cleaner/robust way to handle that differences between directx versions
Regards, Raphael