X-Git-Url: https://git.jsancho.org/?p=c-irrlicht.git;a=blobdiff_plain;f=examples%2F01.HelloWorld.c;fp=examples%2F01.HelloWorld.c;h=f350f03f29ca3dde48513a7728fcbf7b9b06b0e6;hp=d630dfc5b922d5f25d7f50c1c5d8bd7308e87864;hb=482d9e598cce378cdb7f5568c9efe5befe579494;hpb=8d84fb35562071d38c50f6d78880aa3cb626c0fc diff --git a/examples/01.HelloWorld.c b/examples/01.HelloWorld.c index d630dfc..f350f03 100644 --- a/examples/01.HelloWorld.c +++ b/examples/01.HelloWorld.c @@ -62,10 +62,10 @@ int main() if (node) { - irr_scene_setMaterialFlagAM(node, irr_video_EMF_LIGHTING, 0); + irr_scene_setMaterialFlag(node, irr_video_EMF_LIGHTING, 0); irr_scene_setMD2Animation(node, irr_scene_EMAT_STAND); irr_video_ITexture* texture = irr_video_getTexture(driver, "media/sydney.bmp"); - irr_scene_setMaterialTextureAM(node, 0, texture); + irr_scene_setMaterialTexture(node, 0, texture); } // camera