|
|
原来的代码
ret = m_pD3DVertexBuffer->Lock( 0, 0, (BYTE**) &m_ptrBuffer, D3DLOCK_DISCARD );
dx升级到9后出现
error C2664: 'Lock' : cannot convert parameter 3 from 'unsigned char ** ' to 'void ** '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
|
|