Commit Graph

15 Commits (8df65487ff0ba98771ed865be80a2d47c91fcc4b)

Author SHA1 Message Date
Christoph M. Becker 1f57639f04 Remove unused functions
gdImageRotate() and gdImageRotate45() are neither used by GD nor
exported, so we remove them.
2017-01-10 18:57:24 +01:00
Christoph M. Becker 8ca157f67e No, we don't HAVE_BUNDLED_GD
This is obviously a relict of PHP's bundled libgd, which we should remove.
And actually, the #ifdef isn't necessary anymore for PHP's bundled libgd
either, because it supports gdImageAlphaBlending().
2016-09-14 20:10:29 +02:00
Pierre Joye bb09a211d3 simplify, no need to allocate color here as it always true color 2016-06-19 15:16:58 +07:00
Remi Collet 8b3bb51a63 move variable init (reg from a1f36bc, fixed issue #63) 2013-05-27 13:46:19 +02:00
Ondřej Surý a1f36bcf5f Remove duplicate assignment in gdImageRotate45 2013-05-22 13:32:17 +02:00
Ondřej Surý 173bd59082 Fix Win32 build regression and also fix Win32 static build in one go. Also define new BGD_STDCALL __stdcall on Win32 and use it in other source files. 2013-04-23 05:37:36 +02:00
Remi Collet f428cef7f3 clean previous 2013-04-21 18:06:47 +02:00
Remi Collet 9a6929c69f warning: variable 'f' set but not used : PLEASE CHECK 2013-04-21 17:49:32 +02:00
Ondřej Surý cdea9eb0ad Remove extra # define BGD_DECLARE and simplify __stdcall non-usage on Linux 2013-04-14 08:58:34 +02:00
Ondřej Surý f52b1dd55d Fix config.h include before gd.h to get the HAVE_VISILIBITY symbol available 2013-04-12 15:01:43 +02:00
Pierre Joye db84755370 WS 2013-04-09 09:54:08 +02:00
Ondřej Surý 15ea6bc5a1 Fix several uninitialized variable reads, dereferences before NULL checks, resource leaks and some other minor errors 2013-04-08 12:53:52 +02:00
Pierre Joye d887382a26 -fix FuncPtr declaration on unix 2013-04-07 18:40:26 +02:00
Pierre Joye d8e19af742 backport php's gd filter 2013-04-05 01:05:36 +02:00
Pierre Joye 423c939391 add new interpolation method, affine methods, scale and rotation 2013-04-04 10:48:25 +02:00