🎉 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!
Help with DX7 & VB
I am trying to set a color key for a surface and I want the key color to be the color that is at 0,0 in the surface. I can''t seem to get this to work. I am doing the following:
1. Lock the surface
2. GetLockedPixel at 0,0
3. Set colorkey high and low to the result from the GetLockedPixel
5. UnlockSurface
6. Set the surface''s colorkey
I then do a blt. Any idea what I am doing wrong? Help please. Thanks.
Marcus
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement