Skip to content

Commit

Permalink
Removed some commented code.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Nov 24, 2015
1 parent 873d7ed commit b991e01
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions src/con_sdl.cpp
Expand Up @@ -131,28 +131,6 @@ static void GenerateStaticVertices()
GLfloat *static_vertices = new GLfloat[(ScreenCols * ScreenRows) * 16];
GLfloat *ptr = static_vertices;

/*
*(ptr++) = -1.0f;
*(ptr++) = -1.0f;
*(ptr++) = 0.0f;
*(ptr++) = 0.0f;
*(ptr++) = 1.0f;
*(ptr++) = -1.0f;
*(ptr++) = 1.0f;
*(ptr++) = 0.0f;
*(ptr++) = 1.0f;
*(ptr++) = 1.0f;
*(ptr++) = 1.0f;
*(ptr++) = 1.0f;
*(ptr++) = -1.0f;
*(ptr++) = 1.0f;
*(ptr++) = 0.0f;
*(ptr++) = 1.0f;
*/

const GLfloat minu = 0.0f;
const GLfloat minv = 1.0f;
const GLfloat maxu = 1.0f;
Expand Down Expand Up @@ -1256,17 +1234,6 @@ int ConGetEvent(TEventMask EventMask, TEvent *Event, int WaitTime, int Delete) {
*(ptr++) = bgcolor->b;
}
}
/*
for (int i = 0; i < 4; i++) {
*(ptr++) = 1;
*(ptr++) = 1;
*(ptr++) = 0;
*(ptr++) = 0;
*(ptr++) = 1;
*(ptr++) = 0;
*(ptr++) = 0;
}
*/

// Set up the cursor.
if (CursorVisible && bCursorShown)
Expand Down

0 comments on commit b991e01

Please sign in to comment.