[SDL] Font Support

Kentaro Fukuchi fukuchi at is.titech.ac.jp
Fri Jan 23 04:58:00 PST 2004


From: Kevin Fields <kevin at thedorvo.net>
Subject: Re: [SDL] Font Support
Date: Fri, 23 Jan 2004 07:52:03 -0500 (EST)

> <--CODE-->
> #include <SDL.h>
> #include <SDL_ttf.h>
> 
> TTF_Font g_Font;           <--------- This is the line that gives me the error.
> <--/CODE-->

g_Font must be a pointer to TTF_Font. Try

TTF_Font *g_Font;


Kentaro




More information about the SDL mailing list