a real wtf bug

This commit is contained in:
le vieux 2020-11-10 09:28:53 +01:00
parent e7c726320a
commit 0fecf14eff

View File

@ -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;