Use precompiled headers for faster build of the DebuggerWX and Dolphin projects. Fix a silly memory leak in debug text in the GL plugin.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3846 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2009-07-19 09:15:00 +00:00
parent 6f28539ccc
commit afe25626b1
14 changed files with 613 additions and 139 deletions

View file

@ -19,9 +19,6 @@
#define _RASTERFONT_H_
class RasterFont {
protected:
int fontOffset;
public:
RasterFont();
~RasterFont(void);
@ -36,6 +33,10 @@ public:
void printCenteredString(const char *s, double y, int screen_width, double z=0.0);
void printMultilineText(const char *text, double x, double y, double z, int bbWidth, int bbHeight);
private:
int fontOffset;
char *temp_buffer;
enum {TEMP_BUFFER_SIZE = 64 * 1024};
};
#endif // _RASTERFONT_H_