Skip to content

Commit

Permalink
fixes for newer cpp versions or something.
Browse files Browse the repository at this point in the history
  • Loading branch information
timo committed Nov 10, 2011
1 parent b062c13 commit cbff7de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions include/text.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#define _text_h_

GLvoid glPrint( GLint x, GLint y, int set, char *string, ... );
GLvoid KillFont( GLvoid );
GLvoid BuildFont( GLvoid );
GLvoid KillFont( );
GLvoid BuildFont( );

#endif // _text_h_
5 changes: 3 additions & 2 deletions src/text.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <iostream>
#include <stdio.h>
#include <stdarg.h>
#include <cstring>
#include "text.h"
#include "Texture.h"

Expand All @@ -12,7 +13,7 @@ static GLuint base;

using namespace std;
/* function to build our font list */
GLvoid BuildFont( GLvoid )
GLvoid BuildFont( )
{
GLuint loop;
float cx; // Holds Our X Character Coord
Expand Down Expand Up @@ -52,7 +53,7 @@ GLvoid BuildFont( GLvoid )
}

/* function to recover memory form our list of characters */
GLvoid KillFont( GLvoid )
GLvoid KillFont( )
{
glDeleteLists( base, 256 ); /* Delete All 256 Display Lists */

Expand Down

0 comments on commit cbff7de

Please sign in to comment.