https://bugs.freedesktop.org/show_bug.cgi?id=45292

--- Comment #1 from Jeremy Murphy <jeremy.william.mur...@gmail.com> 2012-02-09 
22:43:22 PST ---
OK, I have found what is going wrong, it is pretty simple.  d3d10.h contains 
these three lines at the end of the file:

#include "d3d10misc.h"
#include "d3d10shader.h"
#include "d3d10effect.h"

'ID3D10Include' is defined (typedef'd) in d3d10shader.h and it is used in 
d3d10effect.h.  At least, it is defined in Wine's copy, but not in Mesa's copy. 
However, since Mesa does *not* have its own copy of d3d10effect.h, it always 
brings in Wine's copy, which expects 'ID3D10Include' to have been previously
defined.

This typedef was introduced in Wine in 1.3.2, so I guess you are developing 
against an older version?  Or are you using the latest Wine but don't hit this
problem?  I am curious to know.

Anyway, that's the problem, in case it wasn't already obvious, but I don't know 
enough about Mesa at the moment to suggest a solution.  Roll your own
d3d10effect.h?  Cheers.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to