mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-09 01:03:51 +01:00
Merging r6511 through r6515 from branch releases/1.8 to trunk
Note that 6514 couldn't be merged as the xcode project seems to have been rewritten and the irrFramework-Info.plist no longer exists in trunk. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6516 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
parent
7ecaa18949
commit
6f60edbded
@ -398,6 +398,11 @@ Changes in 1.9 (not yet released)
|
||||
|
||||
--------------------------
|
||||
Changes in 1.8.6
|
||||
- Fix compiling on OSX with case-sensitive filesystems: IrrFramework-Info.plist now always starting with upper-case.
|
||||
Thanks @Ryan Schmidt for bug report and patch.
|
||||
- Fix: The build-in libpng now uses same zlib headers as rest of Irrlicht.
|
||||
This fixes OSX compiling (which didn't have zlib in include path and used system header for this one instead).
|
||||
Thanks @Ryan Schmidt for bug report.
|
||||
- Backport parts of COpenGLCommon.h to ensure that COpenGLExtensionHandler, COpenGLShaderMaterialRenderer and COpenGLTexture all use identical GL extension settings
|
||||
- Backport removing register keywords (deprecated by c++17)
|
||||
- Backport bugfix from trunk to make CUserPointerAttribute::setString work on 64-bit systems.
|
||||
|
@ -27,7 +27,20 @@
|
||||
/* We must ensure that zlib uses 'const' in declarations. */
|
||||
# define ZLIB_CONST
|
||||
#endif
|
||||
#include "zlib.h"
|
||||
|
||||
/* Irrlicht change:
|
||||
Avoid that build-in png uses a different zlib than the rest of Irrlicht.
|
||||
Note: This also would allow removing zlib from the include paths, which
|
||||
probably was done just to hide this bug. Anyway, it's less broken now
|
||||
than it was and the rest is up to Irrlicht 1.9.
|
||||
*/
|
||||
#include "IrrCompileConfig.h"
|
||||
#ifndef _IRR_USE_NON_SYSTEM_ZLIB_
|
||||
#include <zlib.h> // use system lib
|
||||
#else
|
||||
#include "../zlib/zlib.h"
|
||||
#endif
|
||||
|
||||
#ifdef const
|
||||
/* zlib.h sometimes #defines const to nothing, undo this. */
|
||||
# undef const
|
||||
|
Loading…
Reference in New Issue
Block a user