diff options
| author | Steven Fuller <relnev@icculus.org> | 2001-08-08 15:49:59 +0000 |
|---|---|---|
| committer | Patryk Obara <dreamer.tan@gmail.com> | 2019-08-20 02:22:36 +0200 |
| commit | a113617c026d00770c0a01b292386bd1857f5a6a (patch) | |
| tree | f0a689c37369f985171fabd9b9444d74a50c49df /src/main.c | |
| parent | 9e5b7f430d3c5f30042c1fa380ed6b4be13c884d (diff) | |
Fixed major bug in TranslatePoint (was accidently loading a value to edx
instead of edi).
Failed to get anything comprehendible on screen.
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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; } |
