fixes for running on linux

This commit is contained in:
Chris Forbes
2010-02-18 23:46:00 +13:00
parent 0b22797b12
commit 5adefb8fee
8 changed files with 17 additions and 10 deletions

View File

@@ -155,7 +155,8 @@ namespace OpenRa.Graphics
}
public void DrawText(string text, int2 pos, Color c)
{
{
return;
using (new PerfSample("text"))
{
Bitmap b = RenderTextToBitmap(text, fDebug, c);
@@ -166,7 +167,8 @@ namespace OpenRa.Graphics
}
public void DrawText2(string text, int2 pos, Color c)
{
{
return;
using (new PerfSample("text"))
{
Bitmap b = RenderTextToBitmap(text, fTitle, c);