• Advertisement
Sign in to follow this  

Problems with CreateOffscreenPlainSurface with D3DPOOL_MANAGED as a parameter

This topic is 4737 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Greetings, does anyone know why a call of
//m_cursorImage is a LPDIRECT3DSURFACE9
m_d3dDevice->CreateOffscreenPlainSurface(32, 32, D3DFMT_A8R8G8B8, D3DPOOL_MANAGED, &m_cursorImage, NULL);


would fail? It works when D3DPOOL_DEFAULT is specified instead of D3DPOOL_MANAGED, but I have no idea why.

Share this post


Link to post
Share on other sites
Advertisement
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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement