Am 11.08.2010 22:19, schrieb Stefan Dösinger:
Am 11.08.2010 um 21:51 schrieb Rico Schüller:
--- a/dlls/d3d10/d3d10_private.h
+++ b/dlls/d3d10/d3d10_private.h
@@ -212,6 +212,17 @@ struct d3d10_effect
struct d3d10_effect_technique *techniques;
};
+extern const struct ID3D10BlobVtbl d3d10_blob_vtbl DECLSPEC_HIDDEN;
Do you need the declaration of the vtable in the header? As far as I can see
you're not using it anywhere outside d3d10_main.c.
Yeah, I don't need it in the header.
The whole structure (d3d10_blob) could be put in d3d10_main.c. Or should
I use a separate file for the ID3D10Blob interface as it is done with
the ID3DXBuffer interface in d3dx9_36.dll? Then the location in the
header would be fine.