Skip to content
Snippets Groups Projects
Commit 9b3e5d11 authored by Monster Iestyn's avatar Monster Iestyn
Browse files

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
parent d6721755
No related branches found
No related tags found
No related merge requests found
...@@ -853,8 +853,7 @@ static inline boolean M_PNGLib(void) ...@@ -853,8 +853,7 @@ static inline boolean M_PNGLib(void)
apng_set_acTL = hwSym("png_set_acTL", pnglib); apng_set_acTL = hwSym("png_set_acTL", pnglib);
apng_write_frame_head = hwSym("png_write_frame_head", pnglib); apng_write_frame_head = hwSym("png_write_frame_head", pnglib);
apng_write_frame_tail = hwSym("png_write_frame_tail", pnglib); apng_write_frame_tail = hwSym("png_write_frame_tail", pnglib);
#endif #elif defined (_WIN32)
#ifdef _WIN32
apng_set_acTL = GetProcAddress("png_set_acTL", pnglib); apng_set_acTL = GetProcAddress("png_set_acTL", pnglib);
apng_write_frame_head = GetProcAddress("png_write_frame_head", pnglib); apng_write_frame_head = GetProcAddress("png_write_frame_head", pnglib);
apng_write_frame_tail = GetProcAddress("png_write_frame_tail", pnglib); apng_write_frame_tail = GetProcAddress("png_write_frame_tail", pnglib);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment