The following snippet from a DirectX tutorial I'm reading:
I'm a little confused about the (void**) cast. Isn't &pVoid a void** anyway?Code:VOID* pVoid; v_buffer->Lock(0, 0, (void**)&pVoid, 0);
The following snippet from a DirectX tutorial I'm reading:
I'm a little confused about the (void**) cast. Isn't &pVoid a void** anyway?Code:VOID* pVoid; v_buffer->Lock(0, 0, (void**)&pVoid, 0);
Last edited by Sharke; 05-10-2009 at 12:06 AM.