summaryrefslogtreecommitdiff
path: root/platform/haiku
diff options
context:
space:
mode:
authorIbrahn Sahir <ibrahn.sahir@gmail.com>2019-06-16 20:08:52 +0100
committerIbrahn Sahir <ibrahn.sahir@gmail.com>2019-06-19 11:05:58 +0100
commit5e2461124187550bb847e29361cdb1c358006f5e (patch)
treed874182dfdc45912c5d8bd90c5fb8b68d1f6a951 /platform/haiku
parent22afebcad71db07063fa11fd4489b29741f28009 (diff)
Png driver reworked to use libpng 1.6 simplified API
Wrapped libpng usage in a pair of functions under PNGDriverCommon, which convert between Godot Image and png data. Switched to libpng 1.6 simplified API for ease of maintenance. Implemented ImageLoaderPNG and ResourceSaverPNG in terms of PNGDriverCommon functions. Travis, switched to builtin libpng (thus builtin freetype and zlib also) so we can build on Xenial.
Diffstat (limited to 'platform/haiku')
-rw-r--r--platform/haiku/detect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/haiku/detect.py b/platform/haiku/detect.py
index f33c77a407..5a708cdaca 100644
--- a/platform/haiku/detect.py
+++ b/platform/haiku/detect.py
@@ -80,7 +80,7 @@ def configure(env):
env.ParseConfig('pkg-config freetype2 --cflags --libs')
if not env['builtin_libpng']:
- env.ParseConfig('pkg-config libpng --cflags --libs')
+ env.ParseConfig('pkg-config libpng16 --cflags --libs')
if not env['builtin_bullet']:
# We need at least version 2.88