Original Post
hi,
i wanna change pixels of my directdrawsurface at one time so
i described a pointer and i assigned it to my color table ,after that assigning my pointer to directdrawsurface pointer,but it does not work properly....
for y:=0 to 479 do
for x:=0 to 639 do
color_table[x+y*640]:=...
my_pointer:=@color_table;
dxdraw1.surface.isurface4.lock(...
copymemory(surfacedesc.lpsurface,my_pointer,length);
dxdraw1.surface.isurface4.unlock(@surfacedesc);
something is wrong but i could not find it...