summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index f2d4dfe..8cbbc75 100644
--- a/src/main.c
+++ b/src/main.c
@@ -620,8 +620,6 @@ int SetOGLVideoMode(int Width, int Height)
pglDepthFunc(GL_LEQUAL);
pglDepthMask(GL_TRUE);
pglDepthRange(0.0, 1.0);
-
- pglEnable(GL_TEXTURE_2D);
pglDisable(GL_CULL_FACE);
@@ -640,7 +638,7 @@ int SetOGLVideoMode(int Width, int Height)
load_ogl_functions(1);
- InitOpenGL();
+ InitOpenGL(1);
return 0;
}