mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-24 08:14:34 +01:00
lsteamclient: Make getglyph png and svg helpers non-static.
This commit is contained in:
parent
fd79f236ca
commit
46a427e8d0
2 changed files with 4 additions and 2 deletions
|
|
@ -47,7 +47,7 @@ static std::unordered_map<int /*EInputActionOrigin*/, char *> cached_input_glyph
|
|||
static std::unordered_map<int /*flags*/, std::unordered_map<int /*EInputActionOrigin*/, char *> > cached_input_glyphs_svg;
|
||||
static std::unordered_map<int /*flags*/, std::unordered_map<int /*EInputActionOrigin*/, char *> > cached_input_glyphs_png[ESteamInputGlyphSize_count];
|
||||
|
||||
static const char *steamclient_isteaminput_getglyph_png(int origin, int flags, int size, const char *lin_path)
|
||||
const char *steamclient_isteaminput_getglyph_png(int origin, int flags, int size, const char *lin_path)
|
||||
{
|
||||
if(!lin_path)
|
||||
return NULL;
|
||||
|
|
@ -68,7 +68,7 @@ static const char *steamclient_isteaminput_getglyph_png(int origin, int flags, i
|
|||
return cached_input_glyphs_png[size][flags][origin];
|
||||
}
|
||||
|
||||
static const char *steamclient_isteaminput_getglyph_svg(int origin, int flags, const char *lin_path)
|
||||
const char *steamclient_isteaminput_getglyph_svg(int origin, int flags, const char *lin_path)
|
||||
{
|
||||
if(!lin_path)
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue