Branch: Tag:

1999-07-29

1999-07-29 21:59:55 by Marcus Comstedt <marcus@mc.pp.se>

Improved image handling to accept alpha channels and luminance maps.

Rev: src/post_modules/GL/auto.c.in:1.11
Rev: src/post_modules/GL/gen.pike:1.12

253:    }       if(img_obj) { -  argt += ({"object"}); +  argt += ({"object|mapping(string:object)"});    res += " struct zimage img;\n"; -  got += " check_img_arg(sp["+(a-1)+"-args].u.object, &img, "+a+ +  got += " check_img_arg(&sp["+(a-1)+"-args], &img, "+a+    ", \""+name+"\");\n";    }