summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorSteven Fuller <relnev@icculus.org>2015-02-14 12:00:00 +0100
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-20 03:51:33 +0200
commit0de664d0a886bcda45a0cd05551b6896c5c46ed0 (patch)
tree50127b6ec478d76bc714dbfda69602610334ed0c /src/main.c
parent22475d6d94e96056d1550dca00b32d00e3821649 (diff)
Import icculus.org release (2015-02-14)
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);