mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-08 02:54:56 -06:00
WinGL: Added automatic atlas textures, fixed some bugs
git-svn-id: svn://ultimatepp.org/upp/trunk@4188 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
045cd0f256
commit
d3a6feee5a
30 changed files with 842 additions and 365 deletions
|
|
@ -180,7 +180,7 @@ void Draw::DrawText(int x, int y, const String& text, Font font, Color ink, cons
|
|||
Size GetTextSize(const wchar *text, Font font, int n)
|
||||
{
|
||||
#ifdef flagWINGL
|
||||
return GetTextSize(text, Resources::GetFont(font), n);
|
||||
return GetTextSize(text, resources.GetFont(font), n);
|
||||
#else
|
||||
FontInfo fi = font.Info();
|
||||
if(n < 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue