Код: Выделить всё
protected override void Draw(GameTime gameTime){
GraphicsDevice.Clear(Color.DarkCyan);
spriteBatch.Begin();
spriteBatch.DrawString(font, "Teste de renderizao", new Vector2(100, 100), Color.White);
//try
//{
// spriteBatch.DrawString(font, "Teste de renderização", new Vector2(100, 100), Color.White);
//}
//catch (Exception ex)
//{
// // Loga o erro e evita crash
// System.Diagnostics.Debug.WriteLine("Erro no Draw: " + ex.Message);
//}
spriteBatch.End();
base.Draw(gameTime);
Подробнее здесь: https://stackoverflow.com/questions/796 ... drawstring