summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/main.c b/src/main.c
index 20b8e97..f2d4dfe 100644
--- a/src/main.c
+++ b/src/main.c
@@ -612,11 +612,6 @@ int SetOGLVideoMode(int Width, int Height)
SDL_ShowCursor(0);
pglViewport(0, 0, Width, Height);
-
- pglMatrixMode(GL_PROJECTION);
- pglLoadIdentity();
- pglMatrixMode(GL_MODELVIEW);
- pglLoadIdentity();
pglEnable(GL_BLEND);
pglBlendFunc(GL_SRC_ALPHA, GL_ONE);
@@ -628,8 +623,6 @@ int SetOGLVideoMode(int Width, int Height)
pglEnable(GL_TEXTURE_2D);
- pglPolygonMode(GL_FRONT, GL_FILL);
- pglPolygonMode(GL_BACK, GL_FILL);
pglDisable(GL_CULL_FACE);
pglClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);