//m_cursorImage is a LPDIRECT3DSURFACE9
m_d3dDevice->CreateOffscreenPlainSurface(32, 32, D3DFMT_A8R8G8B8, D3DPOOL_MANAGED, &m_cursorImage, NULL);
Problems with CreateOffscreenPlainSurface with D3DPOOL_MANAGED as a parameter
Greetings, does anyone know why a call of
would fail? It works when D3DPOOL_DEFAULT is specified instead of D3DPOOL_MANAGED, but I have no idea why.
Quote:Original post by v0dKA
D3DPOOL_MANAGED is not allowed with off screen surfaces. It says so on MSDN.
Aieeee! I just doublechecked the documentation and sure enough it's there. I'd better triple check next time >_<
Anyway, thank you for clearing that up.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement