Jump to content
  • Advertisement
Sign in to follow this  

TextureLoader.FromStream(device, stream) problem

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

Hi, I had some problem relate to TextureLoader.FromStream(device, stream). 1. May i know how to improve the TextureLoader.FromStream(device, stream) ? It very slow when execute this code. After that i had try to use the code below to get the texture : Texture t = new Texture(device, bitmap.Width, bitmap.Height, 1,Usage.Dynamic, Format.A8B8G8R8, Pool.Default); However, it return error of D3DERR_INVALIDCALL. Why this happen? 2. May i know how to solve the E_OUTOFMEMORY problem? In my situation, the TextureLoader.FromStream(device, stream) is execute fine. After a few minute it had error of E_OUTOFMEMORY. Here, i wish i can get the solution. Thank you :p [Edited by - tiramisung on April 29, 2010 8:44:00 PM]

Share this post

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

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!