mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-22 04:21:23 +00:00
Use just hwSym for Win32+SDL builds without PNG_STATIC, not both hwSym and GetProcAddress!
apparently SDL_LoadFunction is just a GetProcAddress call anyway for Windows
This commit is contained in:
parent
d6721755c7
commit
9b3e5d11f6
1 changed files with 1 additions and 2 deletions
|
@ -853,8 +853,7 @@ static inline boolean M_PNGLib(void)
|
|||
apng_set_acTL = hwSym("png_set_acTL", pnglib);
|
||||
apng_write_frame_head = hwSym("png_write_frame_head", pnglib);
|
||||
apng_write_frame_tail = hwSym("png_write_frame_tail", pnglib);
|
||||
#endif
|
||||
#ifdef _WIN32
|
||||
#elif defined (_WIN32)
|
||||
apng_set_acTL = GetProcAddress("png_set_acTL", pnglib);
|
||||
apng_write_frame_head = GetProcAddress("png_write_frame_head", pnglib);
|
||||
apng_write_frame_tail = GetProcAddress("png_write_frame_tail", pnglib);
|
||||
|
|
Loading…
Reference in a new issue