Drawing a Pixel
I''m sure there is a faster way to draw a pixel than using SetPixel(). Does anyone have any suggestions?
SetPixelV is quicker.
If you are using DirectX you will get much better performance by writing the routine yourself.
---
Rob
See other worlds at http://www.silverfrost.com
If you''re using Directdraw
Use the LPDIRECTDRAWSURFACE::Lock(...);
and edit the memory value of desired pixel in ddsd.lpSurface
This is harder but a lot faster
Use the LPDIRECTDRAWSURFACE::Lock(...);
and edit the memory value of desired pixel in ddsd.lpSurface
This is harder but a lot faster
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement