forked from tTh/FloatImg
useless commit
This commit is contained in:
parent
9124ab6434
commit
b93ec2e603
@ -55,6 +55,7 @@ for (y=pos[1]; y<pos[1]+pos[3]; y++) {
|
|||||||
pline = y*pimg->width;
|
pline = y*pimg->width;
|
||||||
for (x=pos[0]+2; x<pos[0]+pos[2]-2; x++) {
|
for (x=pos[0]+2; x<pos[0]+pos[2]-2; x++) {
|
||||||
off = pline + x;
|
off = pline + x;
|
||||||
|
/* wtf i'm doing here ? */
|
||||||
pimg->R[off] = fvals[0];
|
pimg->R[off] = fvals[0];
|
||||||
pimg->G[off] = fvals[1];
|
pimg->G[off] = fvals[1];
|
||||||
pimg->B[off] = fvals[2];
|
pimg->B[off] = fvals[2];
|
||||||
@ -62,6 +63,10 @@ for (y=pos[1]; y<pos[1]+pos[3]; y++) {
|
|||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* need more explanation, need more worg
|
||||||
|
*/
|
||||||
int trinitron(FloatImg *pimg, int notused)
|
int trinitron(FloatImg *pimg, int notused)
|
||||||
{
|
{
|
||||||
int x, y, coo[4], foo;
|
int x, y, coo[4], foo;
|
||||||
|
Loading…
Reference in New Issue
Block a user