title: how to fix entrypoint not found inflateValidate libpng16-16.dll for SDL2
body: <p>I was making a game in SDL2 and tried to Render a texture (using <code>SDL_RenderCopy()</code>), but when I tried to run it, it said:</p>
  <pre class="lang-none prettyprint-override"><code>entrypoint not found inflateValidate libpng16-16.dll
  </code></pre>
  <p>I looked into it and I put in the required dlls (zlib1.dll, libpng16-16.dll, etc.) but I still got the error. I tried to search up why this happened but I got no results, with the exception of an unanwsered question that has basically the same problem as the one I am describing. (link:<a href="https://stackoverflow.com/questions/50488180/visual-studio-sdl2-entrypoint-not-found-in-libpng-16">Visual Studio - SDL2 - entrypoint not found in libpng 16</a>.
  I've done projects with SDL_image before and this never happened to me. I use visual studio 2022.</p>
  <p>How can I fix this?</p>