Advertisement Jump to content
Sign in to follow this  

CreateOffscreenPlainSurface fails with D3DPOOL_SYSTEMMEM

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

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!