• Advertisement
Sign in to follow this  

CreateOffscreenPlainSurface fails with D3DPOOL_SYSTEMMEM

This topic is 1969 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

On my machine, I am able to create surfaces using CreateOffscreenPlainSurface in the system memory pool.

On another machine, this call fails. On the failing machine, I am able to use CreateTexture with a single mip level, and then retrieve that surface instead.

I notice that the documentation for CreateOffscreenPlainSurface does not mention D3DPOOL_SYSTEMMEM as a valid pool http://msdn.microsoft.com/en-us/library/windows/desktop/bb174358(v=vs.85).aspx. However, it is logical, and I have seen other code on the internet that uses it in this way.

So, is the documentation wrong and SYSTEMMEM is valid? Or should I not rely this? Is there a better way to create a single surface for use with UpdateSurface? Edited by ingramb

Share this post

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

  • Advertisement