]>
Commit | Line | Data |
---|---|---|
749da6bd JB |
1 | --- SDL_ttf-2.0.8/SDL_ttf.c.orig 2006-05-21 23:23:20.169387000 +0200 |
2 | +++ SDL_ttf-2.0.8/SDL_ttf.c 2006-05-21 23:24:21.793239000 +0200 | |
3 | @@ -43,16 +43,6 @@ | |
f82432ca JB |
4 | #include FT_FREETYPE_H |
5 | #include FT_OUTLINE_H | |
6 | #include FT_TRUETYPE_IDS_H | |
749da6bd JB |
7 | -/* |
8 | -#include <freetype/freetype.h> | |
9 | -#include <freetype/ftoutln.h> | |
10 | -#include <freetype/ttnameid.h> | |
f82432ca | 11 | -*/ |
749da6bd JB |
12 | -#include <freetype/internal/ftobjs.h> |
13 | - | |
14 | -#ifndef FT_OPEN_STREAM | |
15 | -#define FT_OPEN_STREAM ft_open_stream | |
16 | -#endif | |
d9a4bf86 | 17 | |
749da6bd JB |
18 | #include "SDL.h" |
19 | #include "SDL_endian.h" | |
20 | @@ -278,7 +268,7 @@ | |
21 | } | |
22 | memset(stream, 0, sizeof(*stream)); | |
23 | ||
24 | - stream->memory = library->memory; | |
25 | + stream->memory = NULL; /* set by FT_Open_Face */ | |
26 | stream->read = RWread; | |
27 | stream->descriptor.pointer = src; | |
28 | stream->pos = (unsigned long)position; |