Fixed major bug in TranslatePoint (was accidently loading a value to edx

instead of edi).

Failed to get anything comprehendible on screen.
This commit is contained in:
Steven Fuller 2001-08-08 15:49:59 +00:00 committed by Patryk Obara
parent 9e5b7f430d
commit a113617c02
6 changed files with 62 additions and 128 deletions

View file

@ -56,10 +56,12 @@ int InitialiseWindowsSystem()
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
glFrustum(-1, 1, -1, 1, 1, 1000);
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
glEnable(GL_BLEND);
glEnable(GL_DEPTH_TEST);
return 0;
}