QUOTE (jippie @ Oct 26 2004, 11:29 PM) |
It is a bit of a mess. When I compile it as a debug instead of release it dies at the beginning.
I have no answer at this moment it will take a bit of debugging. I would guess you have a variable that hasn't been initialized some where if it works in the CXBX. As the whole of the memory will be 0.
Maybe also have a look at some of the casting.
Sorry can't be more help.
jippie |
Draw_Clip_Line32(0,100, 640,100,
rgb_red,(DWORD*)Direct3D.pBuffer,Direct3D.GetLockedRect().Pitch);
Your draw routine is screwed some how.
This does not draw a line, but a 8 pixel line high and about 60 wide.
Hope this helps.
jippie