Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rds1983 authored Jan 16, 2022
1 parent 0b5646f commit 1e38488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ using (var stream = TitleContainer.OpenStream("Fonts/test.fnt"))
}

// As we use font with one texture, always return it independently from requested name
SpriteFont font = BMFontLoader.Load(fontData, name => texture);
SpriteFont font = BMFontLoader.Load(fontData, name => texture, GraphicsDevice);
```

Full sample is here:
Expand Down

0 comments on commit 1e38488

Please sign in to comment.