[quake3-commits] r2232 - trunk/code/renderer
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon Apr 2 13:23:46 EDT 2012
Author: ztm
Date: 2012-04-02 13:23:46 -0400 (Mon, 02 Apr 2012)
New Revision: 2232
Modified:
trunk/code/renderer/tr_font.c
Log:
Use FreeType include macros instead of filenames directly (per the API docs), patch by Radegast.
Modified: trunk/code/renderer/tr_font.c
===================================================================
--- trunk/code/renderer/tr_font.c 2012-03-29 06:35:33 UTC (rev 2231)
+++ trunk/code/renderer/tr_font.c 2012-04-02 17:23:46 UTC (rev 2232)
@@ -73,11 +73,11 @@
#ifdef BUILD_FREETYPE
#include <ft2build.h>
-#include <freetype/fterrors.h>
-#include <freetype/ftsystem.h>
-#include <freetype/ftimage.h>
-#include <freetype/freetype.h>
-#include <freetype/ftoutln.h>
+#include FT_ERRORS_H
+#include FT_SYSTEM_H
+#include FT_IMAGE_H
+#include FT_FREETYPE_H
+#include FT_OUTLINE_H
#define _FLOOR(x) ((x) & -64)
#define _CEIL(x) (((x)+63) & -64)
More information about the quake3-commits
mailing list