Jump to content
  • Advertisement
Sign in to follow this  
Nyocia

Problem with Lock surface function

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

void lock( int surface, void **mempointer, int *pitch ); // locks a surface and returns a pointer to the pixeldata, and the surface pitch. Please help me with this function, i need thwe whole function description thank you very much greetings Johan

Share this post


Link to post
Share on other sites
Advertisement
Please read this sticky thread. As suggested in those guidelines - you need to help us if you want us to help you.

Quote:
Include all the information that might be needed for people to give a good answer, including the version of DirectX you are using, as well as the SDK version, and any details about your hardware that you think might apply to the problem. If you don't give enough information, people won't be able to help you until you do.


If you have the SDK installed, look in the help files - they have full descriptions and parameter listings for all the functions.

hth
Jack

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.

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!