Added the proper libPNG DLL name for Win64, by Willis
authormolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 21 Jan 2006 09:13:48 +0000 (09:13 +0000)
committermolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 21 Jan 2006 09:13:48 +0000 (09:13 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5918 d7cf8633-e32d-0410-b094-e92efae38249

image_png.c

index 8b9d1ff..19304fb 100644 (file)
@@ -103,7 +103,9 @@ qboolean PNG_OpenLibrary (void)
 {
        const char* dllnames [] =
        {
-#ifdef WIN32
+#ifdef WIN64
+               "libpng12_64.dll",
+#elif WIN32
                "libpng12.dll",
 #elif defined(MACOSX)
                "libpng12.0.dylib",