opengl stamp wasnt working right, stamp assumed an alpha channel existed.

This commit is contained in:
2008-01-20 23:52:48 +00:00
parent 3d7271f059
commit 6f4c03a091
8 changed files with 27 additions and 21 deletions

View File

@@ -2022,7 +2022,7 @@ static void renderresult_stampinfo()
RenderResult rres;
/* this is the basic trick to get the displayed float or char rect from render result */
RE_GetResultImage(RE_GetRender(G.scene->id.name), &rres);
BKE_stamp_buf((unsigned char *)rres.rect32, rres.rectf, rres.rectx, rres.recty);
BKE_stamp_buf((unsigned char *)rres.rect32, rres.rectf, rres.rectx, rres.recty, 4);
}
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */