summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorSteven Fuller <relnev@icculus.org>2001-08-08 15:49:59 +0000
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-20 02:22:36 +0200
commita113617c026d00770c0a01b292386bd1857f5a6a (patch)
treef0a689c37369f985171fabd9b9444d74a50c49df /src/main.c
parent9e5b7f430d3c5f30042c1fa380ed6b4be13c884d (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.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 117477a..eeea7d7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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;
}