1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-07-02 22:14:37 +00:00

Compile fix for win32/MSVC that creeped up for some reason

This commit is contained in:
fgenesis 2012-04-06 20:57:26 +02:00
parent fc7fa440da
commit 1a20ff5d59
2 changed files with 2 additions and 5 deletions

View file

@ -19,7 +19,6 @@ using namespace std;
#endif
#include <OpenGL/gl.h>
*/
#include "Base.h"
#include "SDL_endian.h"
@ -91,10 +90,6 @@ bool GLFont::Create (const char *file_name, int tex, bool loadTexture)
header.end_char = read_int(input);
input.seekg(4, ios::cur); // skip chars field
std::ostringstream os;
os << "tex_width: " << header.tex_width << " tex_height: " << header.tex_height;
debugLog(os.str());
//Allocate space for character array
num_chars = header.end_char - header.start_char + 1;
if ((header.chars = new GLFontChar[num_chars]) == NULL)