--- a/QTfrontend/hedgewars.pro Fri Apr 17 19:58:21 2009 +0000
+++ b/QTfrontend/hedgewars.pro Fri Apr 17 20:13:46 2009 +0000
@@ -8,6 +8,9 @@
RC_FILE = ./res/hedgewars.rc
}
+macx{
+ CONFIG += x86
+}
QT += network svg xml
HEADERS += binds.h \
@@ -109,4 +112,8 @@
RESOURCES += hedgewars.qrc
+!macx{
LIBS += libSDL
+}else{
+LIBS += -framework SDL -framework SDL_mixer -framework Ogg -framework Vorbis
+}
--- a/hedgewars/uWorld.pas Fri Apr 17 19:58:21 2009 +0000
+++ b/hedgewars/uWorld.pas Fri Apr 17 20:13:46 2009 +0000
@@ -417,7 +417,9 @@
CountTicks:= 0;
s:= inttostr(FPS) + ' fps';
if fpsTexture <> nil then FreeTexture(fpsTexture);
+{$IFNDEF IPHONE}
tmpSurface:= TTF_RenderUTF8_Blended(Fontz[fnt16].Handle, Str2PChar(s), $FFFFFF);
+{$ENDIF}
fpsTexture:= Surface2Tex(tmpSurface);
SDL_FreeSurface(tmpSurface)
end;