a real wtf bug

This commit is contained in:
le vieux 2020-11-10 09:28:53 +01:00
parent e7c726320a
commit 0fecf14eff
1 changed files with 4 additions and 4 deletions

View File

@ -26,10 +26,10 @@ if (verbosity > 1) {
offset = pvictime->width * line;
for (xpos=offset; xpos<pvictime->width; xpos++) {
pvictime->R[offset] = fval;
pvictime->G[offset] = 0.0;
pvictime->B[offset] = fval;
for (xpos=0; xpos<pvictime->width; xpos++) {
pvictime->R[offset+xpos] = fval;
pvictime->G[offset+xpos] = 0.0;
pvictime->B[offset+xpos] = fval;
}
return 0;