fixes for running on linux
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user