I changed the line to #define _IRR_MATERIAL_MAX_TEXTURES_ 8
then my app crashes at memcpy of CMatrix4's operator=
(The value of other.TextureMatrix seems fine but this.TextureMatrix is 0xffffffffffffffff)
Previous call:
I'm using Irrlicht 1.8.4 dynamic link on Debian 9 stable.
By reading this post here: http://irrlicht.sourceforge.net/forum/v ... hp?t=38821
I also tried changing GL_MAX_TEXTURE_UNITS to GL_MAX_TEXTURE_IMAGE_UNITS_ARB or GL_MAX_TEXTURE_IMAGE_UNITS but the result is the same, crashes at the same place.
So I doubt that there's some problem with _IRR_MATERIAL_MAX_TEXTURES_
[Solved] Crash when run with 8 material textures config
[Solved] Crash when run with 8 material textures config
Last edited by mant on Sun Dec 24, 2017 2:26 pm, edited 2 times in total.
Re-creating Irrlicht with Vulkan: http://irrlicht.sourceforge.net/forum/v ... =6&t=52404
Re: Crashed when run with lib compiled for 8 material textur
There's same report here long ago: http://irrlicht.sourceforge.net/forum/v ... =4&t=40125
Re-creating Irrlicht with Vulkan: http://irrlicht.sourceforge.net/forum/v ... =6&t=52404
Re: Crashed when run with lib compiled for 8 material textur
I forgot to update the Irrlicht headers of my app. It runs now.
Re-creating Irrlicht with Vulkan: http://irrlicht.sourceforge.net/forum/v ... =6&t=52404