|
|
我刚学DIRECTX,有个函数搞不明白
g_pMyd3dDevice->StretchRect(
surface, // the source surface
src, // the source rectangle
backbuffer, // the destination surface
dest, // destination rectangle
D3DTEXF_NONE
); // the filter to apply
}
然后出现错误是
:\游戏制作\myproject\mysecodep\animation.cpp(218) : error C2664: 'StretchRect' : cannot convert parameter 2 from 'struct tagRECT' to 'const struct tagRECT *'
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
Error executing cl.exe.
谁能告诉我是怎么回事啊
谢谢 |
|