Original Post
Hi!
I''ve the following problem:
My program runs in mode 320x240x8 fullscreen, uses it''s own palette and has 2 surfaces to flip. I create in the drawing routine small surfaces (8x8) that are blitted to the backbuffer. My problem is: the lPitch of one of these surfaces is 64. I don''t know why - i thought it should be 8 (8 x 1 byte per line). Something simmilar is with the primary surface. It has a lPitch of 640 (instead of 320 * 1 byte). That makes quite some troubles for me cause i access surface memory directly to draw anything.
Anyone knows a solution for this? I use DXSDK 7 and my machine is running Windows 2000 with DirectX 8 (with an old ATI Rage Pro).
Thx for any help
Martin