diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-24 14:51:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-24 21:08:17 +0300 |
commit | 8f670620dbf4c8092e9f834f9d65cbc607b81511 (patch) | |
tree | 1a1a8e51ecaa65955639c3f9279f6f704e6dac5d /src/client.cpp | |
parent | ed77e8fb99e16e72cde0e163a9b58c5cefd8d05d (diff) | |
download | manaplus-8f670620dbf4c8092e9f834f9d65cbc607b81511.tar.gz manaplus-8f670620dbf4c8092e9f834f9d65cbc607b81511.tar.bz2 manaplus-8f670620dbf4c8092e9f834f9d65cbc607b81511.tar.xz manaplus-8f670620dbf4c8092e9f834f9d65cbc607b81511.zip |
move WMInfo function calls into SDL helper.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp index b191e443d..02719debc 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -3067,7 +3067,7 @@ void Client::setIcon() #ifdef WIN32 static SDL_SysWMinfo pInfo; - SDL_GetWMInfo(&pInfo); + SDL::getWindowWMInfo(mainGraphics->getWindow(), &pInfo); // Attempt to load icon from .ico file HICON icon = (HICON) LoadImage(nullptr, iconFile.c_str(), IMAGE_ICON, 64, 64, LR_LOADFROMFILE); |