forked from tTh/FloatImg
a real wtf bug
This commit is contained in:
parent
e7c726320a
commit
0fecf14eff
|
@ -26,10 +26,10 @@ if (verbosity > 1) {
|
||||||
|
|
||||||
offset = pvictime->width * line;
|
offset = pvictime->width * line;
|
||||||
|
|
||||||
for (xpos=offset; xpos<pvictime->width; xpos++) {
|
for (xpos=0; xpos<pvictime->width; xpos++) {
|
||||||
pvictime->R[offset] = fval;
|
pvictime->R[offset+xpos] = fval;
|
||||||
pvictime->G[offset] = 0.0;
|
pvictime->G[offset+xpos] = 0.0;
|
||||||
pvictime->B[offset] = fval;
|
pvictime->B[offset+xpos] = fval;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue