10-30-2004, 09:07 AM
Man we need templates for FB.
So I would assume you can do something like this?
Woot!!! DX here I come!!!!
So I would assume you can do something like this?
Code:
pixelWidth=surface.ddpfPixelFormat.dwRGBBitCount\8
offset= x*pixelWidth + y*surface.lPitch
Poke(((BYTE *)surface.lpSurface)+offset, &colour, pixelWidth)
Woot!!! DX here I come!!!!