Browse Source

older freetype

David Rose 24 years ago
parent
commit
6a6b12053a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pandaapp/src/indexify/textMaker.cxx

+ 1 - 1
pandaapp/src/indexify/textMaker.cxx

@@ -108,7 +108,7 @@ TextMaker(const char *font_data, int font_data_size, int face_index) {
   }
 
   int error = FT_New_Memory_Face(_ft_library,
-                                 (const FT_Byte *)font_data, font_data_size,
+                                 (FT_Byte *)font_data, font_data_size,
                                  face_index,
                                  &_face);
   if (error == FT_Err_Unknown_File_Format) {