Hey I can't figure this out, everytime I try to run the lesson 8 program I get a compiler error! It is giving me a yellow arrow next to the
((D3DCOLOR*)rect.pBits)[ x + (rect.Pitch >> 2) * y ] = D3DCOLOR_XRGB( r,g,b );
I don't know what happened or how to fix it, so help me ASAP!
HELP!
Re: HELP!
Your program is trying to put a pixel outside of the window coordinates. This is causing the crash.
Chili