🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Incredible Locks and Dummies

Started by
-1 comments, last by BugSquash 24 years, 3 months ago
I have a few a questions that have been bugging me. Okay, first, a while ago I made my first DX program that puts random pixels on the screen. Well, at first I thought I could just Lock(), draw a pixel, and UnLock(), but it was too slow. I soon found out that Lock was the culprit. So, I wrote 200 pixels between Lock and UnLock. Anyways, I was wondering why Lock is so sllllloooooooowww. Second, is the BMP loader in WGPFD about the fastest they get, or should I think about improving it sometime? Yeah, that''s all. --BugSquash Taeloid!
NARF!

This topic is closed to new replies.

Advertisement