Okay, so I have a function expecting this argument:
ID3D10Buffer *const *ppVertexBuffers
and I have a function prototype:
ID3D10Buffer* getVertexBuffer();
but it will not take my function as that parameter unless I cast it to:
ID3D10Buffer *const *
I realize it seems pretty obvious what the problem is, but if I have
ID3D10Buffer* frickinVertexBuffer
then I can just pass
&frickinVertexBuffer
as the parameter.
Anyone care to explain?
Note: I can't make my function
ID3D10Buffer getVertexBuffer();
because ID3D10Buffer is abstract.
I'm working in VS2008 in case anyone cares.
--------------------Configuration: error maker - Win32 Debug--------------------Compiling...error maker.cppLinking...error maker.exe - 1 error(s), 0 warning(s)