PDA

View Full Version : starman thought youd like to know



c0d3Junk3Y
07-31-2003, 12:29 PM
I figured out what my problem was. I tried your suggestion about switching glPushMatrix and Swap(hDC) I got an odd result. My image appeared to run straight off the screen like a roach in a spotlight. After much head scratching I realized that it was in my lack of using PIXELFORMATDESCRIPTOR. If you noticed I used static(PIXEELFORMATDESCRIPTOR)

I changed it to PIXELFORMATDESCRIPTOR pfd=
pfdFlags = dw YADDA YADDA

and it worked.