Page 1 of 1

How to fix 'Could not create IImage, format only supported for render target textures.'?

Posted: Sun May 26, 2024 9:53 am
by mitras1
Here's the line of code that causes this:

Code: Select all

video::IImage* im = driver->createImageFromData(video::ECF_A32B32G32R32F, core::dimension2du(64, 64), data->pointer());

Re: How to fix 'Could not create IImage, format only supported for render target textures.'?

Posted: Sun May 26, 2024 11:34 am
by CuteAlien
Switch to svn trunk version of Irrlicht. This wasn't supported in Irrlicht 1.8 (not sure if for any good reason).