code cleanup: vfont's used confusing and over complicated method of storing memory...
[blender-staging.git] / source / blender / makesdna / DNA_vfont_types.h
index 3cccfe6a19f4d085e93acb42f993596028f872f5..7aaeaf23db27ad187cdd4757ca39f16850bc1a47 100644 (file)
@@ -46,6 +46,10 @@ typedef struct VFont {
        
        struct VFontData *data;
        struct PackedFile *packedfile;
+
+       /* runtime only, holds memory for freetype to read from
+        * TODO, replace this with blf_font_new() style loading */
+       struct PackedFile *temp_pf;
 } VFont;
 
 /* *************** FONT ****************** */