createSurface

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
knightoflight
Posts: 199
Joined: Sun Aug 24, 2003 5:47 pm
Location: Germany

createSurface

Post by knightoflight »

another beginner question:
i can compile everthing including the engine, but the command
ISurface* surface = createSurface(core::dimension2d<s32>(320, 200));
leads to a linkererror
Last edited by knightoflight on Sat Sep 13, 2003 7:51 pm, edited 1 time in total.
Kortyburns
Posts: 20
Joined: Wed Sep 10, 2003 12:31 pm
Location: FRANCE

Post by Kortyburns »

it doesn't work for me too.
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

That method is only usable from the internal engine. You cannot create a surface in that way. And please note: ISurfaces will removed in the next version. I'm gonna refactor it for enhancing the engine with 24 and 32 bit textures.
knightoflight
Posts: 199
Joined: Sun Aug 24, 2003 5:47 pm
Location: Germany

Post by knightoflight »

i thought about merging textures in the memory with such a surface and it was an official function in the docu, :-( bad news, that its not official and will be deleted. And the copy-functions like ISurface::copyToWithAlpha would only work with such a surface ???
Post Reply