diff options
| author | Steven Fuller <relnev@icculus.org> | 2015-02-14 12:00:00 +0100 |
|---|---|---|
| committer | Patryk Obara <dreamer.tan@gmail.com> | 2019-08-20 03:51:33 +0200 |
| commit | 0de664d0a886bcda45a0cd05551b6896c5c46ed0 (patch) | |
| tree | 50127b6ec478d76bc714dbfda69602610334ed0c /src/main.c | |
| parent | 22475d6d94e96056d1550dca00b32d00e3821649 (diff) | |
Import icculus.org release (2015-02-14)
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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); |
