FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

derelictSDLttf: TTF_RenderUTF8_Blended missing

 
Post new topic   Reply to topic     Forum Index -> Derelict
View previous topic :: View next topic  
Author Message
randomZ



Joined: 04 Dec 2004
Posts: 31
Location: Tuebingen, Germany

PostPosted: Sat Feb 12, 2005 9:06 am    Post subject: derelictSDLttf: TTF_RenderUTF8_Blended missing Reply with quote

When doing SDL_ttf, I seem to have missed the TTF_RenderUTF8_Blended function. Fixing this is a matter of three lines:

Add
Code:

    TTF_RenderUTF8_Blended = cast(pfTTF_RenderUTF8_Blended)getProc("TTF_RenderUTF8_Blended");

before line 208

and

Code:

pfTTF_RenderUTF8_Blended                TTF_RenderUTF8_Blended;

before line 148

and

Code:

typedef SDL_Surface * function (TTF_Font *font, char *text, SDL_Color fg) pfTTF_RenderUTF8_Blended;

before line 109.

Sebastian


Last edited by randomZ on Sat Feb 12, 2005 10:51 am; edited 1 time in total
Back to top
View user's profile Send private message
aldacron



Joined: 05 May 2004
Posts: 1322
Location: Seoul, South Korea

PostPosted: Sat Feb 12, 2005 10:29 am    Post subject: Reply with quote

Thanks! The fix is in svn.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Derelict All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group