Original Post
Hey all, What's the most efficient way to modify pixel data directly? I'm looking to write a little MS Paint clone (it actually has an end purpose) and am unsure of what the best way to tackle the problem is. Is just unlocking a surface and changing the pixel data the best way to go about it? Seems like it'd choke eveytime you'd paint.