From e7a1b7b89f3c8f2bfa14a1bbecb35f23f720806f Mon Sep 17 00:00:00 2001 From: James Turk Date: Sat, 5 Jul 2003 01:02:05 +0000 Subject: [PATCH] size param for TTF w/ RWops --- src/ZE_ZEngine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ZE_ZEngine.cpp b/src/ZE_ZEngine.cpp index d95ed6e..d303204 100644 --- a/src/ZE_ZEngine.cpp +++ b/src/ZE_ZEngine.cpp @@ -13,7 +13,7 @@ \brief Central source file for ZEngine. Actual implementation of ZEngine singleton class, the core of ZEngine. -
$Id: ZE_ZEngine.cpp,v 1.48 2003/07/05 00:40:45 cozman Exp $
+
$Id: ZE_ZEngine.cpp,v 1.49 2003/07/05 01:02:05 cozman Exp $
\author James Turk **/ @@ -759,7 +759,7 @@ TTF_Font* ZEngine::LoadFont(std::string filename, int size) #ifdef USE_PHYSFS SDL_RWops *rw; rw = PHYSFSRWOPS_openRead(filename.c_str()); - font = TTF_OpenFontRW(rw,0); + font = TTF_OpenFontRW(rw,0,size); SDL_FreeRW(rw); #else font = TTF_OpenFont(filename.c_str(),size);