View Full Version : Why do glTranslate()'s not affect the modelview matrix?

03-21-2002, 04:51 PM

My Windows 2000 turns to odd and I suspect the setup for OpenGL is corrupted. A cube application from the Microsoft web site used to work on my machine. I just re-downloaded it but this time it crashes at the 2nd line below:

hrc = wglCreateContext(m_pDC->GetSafeHdc());
wglMakeCurrent(m_pDC->GetSafeHdc(), hrc);

The reason I want to retry this application because I met a strange problem in my program: the modelview matrix remains the same after mutiply applying glTranslate() (unless I apply glRotate()). I don't know if my machine is setup correctly now. Do you have a clue? Please help. Thank you so much.