Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

LoreKeeper

Surface Locking (in DX8)

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

Hey... I''ve been recently trying to do a bit of DX8 pixel manipulation, but this seems to be problematic I''ve done the following: D3DDev8.GetBackBuffer(.., 0, Surface); // gets the surface, works Surface.GetDesc(surfDesc); // works Surface.LockRect(surfRect, nil, 0); // returns an error The surface descriptor says the surface is the current render_target (great) and seems generally right, except that the "size in bytes" is 0. And this although I do 3D renders and font writing to the surface as well. I don''t get it. Help Anywhere? thanks

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

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

GameDev.net 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!