On Thu, Jan 10, 2013 at 8:18 PM, Dmitry Timoshkov dmitry@baikal.ru wrote:
Austin English austinenglish@gmail.com wrote:
Try 2: Remove L suffixes, C++ comment.
+/* Forward declarations */
You've copied too much from the PSDK version, better leave it to someone else, and do it step by step when particular functionality gets implemented.
The forward declarations are necessary due to the convoluted nature of the interfaces. My end goal is to add a stub for D3D11CreateDevice, which fixes http://bugs.winehq.org/show_bug.cgi?id=32520 (so users don't have to disable d3d11). However, adding a stub requires ID3D11Device and ID3D11DeviceContext, which are 158 and 413 lines respectively. If I only add what is needed, it saves ~600 lines (1650 vs 2230), so I went ahead and added the rest.