forked from tTh/FloatImg
oups...
This commit is contained in:
parent
6e410e5f50
commit
f3c9d85c73
@ -29,7 +29,8 @@ if (foo) {
|
|||||||
fprintf(stderr, "%s: Kkrkr %d pour create incrust\n", __func__, foo);
|
fprintf(stderr, "%s: Kkrkr %d pour create incrust\n", __func__, foo);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
fimg_drand48(&incrust, 13.37);
|
// fimg_drand48(&incrust, 13.37);
|
||||||
|
foo = fimg_load_from_dump("foo.fimg", &incrust);
|
||||||
|
|
||||||
foo = incrustator_0(&incrust, &grande, 100, 100, 0);
|
foo = incrustator_0(&incrust, &grande, 100, 100, 0);
|
||||||
if (foo) {
|
if (foo) {
|
||||||
|
@ -44,7 +44,7 @@ for (y=0; y<psrc->height; y++) {
|
|||||||
memcpy(pdst->R + dstpos, psrc->R + srcpos, szl);
|
memcpy(pdst->R + dstpos, psrc->R + srcpos, szl);
|
||||||
memcpy(pdst->G + dstpos, psrc->G + srcpos, szl);
|
memcpy(pdst->G + dstpos, psrc->G + srcpos, szl);
|
||||||
memcpy(pdst->B + dstpos, psrc->B + srcpos, szl);
|
memcpy(pdst->B + dstpos, psrc->B + srcpos, szl);
|
||||||
srcpos += psrc->height;
|
srcpos += psrc->width;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user