Skip to main content
gamedev.net
🔒 Locked

Problem with Lock surface function

Started by Nyocia 0 replies 700+ views
Original Post
Nyocia
Nyocia
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
"Try not. Do, or do not. There is no try" - Yoda- Software Engineer, - Computer Game Developer
jollyjeffers
jollyjeffers
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
<hr align="left" width="25%" />
Jack Hoxley <small>[</small><small> Forum FAQ | Revised FAQ |

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.