I'm trying to write a simple directX application that opens up a window, and let's me place pixels within it.
So far, I can use the method where I blit 1x1 pixel rectangles to the screen. I'm assuming it's slower than the other method of locking the screen, and then drawing to the memory of the surface. The only problem being is that I've tried 2 diffrent programs that lock the surface and draw to it, and they've both crashed on attemping to lock the surface.
Any help on why this ain't working would be awesome!
Thanks is advance!