Skip to content
Browse files

renderer: in wave mode 2 and 3, wave_x was used where it should be wa…


Surprisingly, the effect of this is almost imperceptible. It's perhaps
most visible in Tornado Rain Dance, where midi3 now moves the wave
along the x axis instead of a diagonal.
  • Loading branch information...
1 parent 0e5f809 commit 422f17b87cef3ccd98640fe955370a8c8ce95e85 @wpwrak wpwrak committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/renderer/raster.c
2 src/renderer/raster.c
@@ -221,7 +221,7 @@ static int wave_mode_23(struct frame_descriptor *frd, struct wave_vertex *vertic
s2 = samples[8*i+32+1]/32768.0;
vertices[i].x = (s1*frd->wave_scale*0.5 + frd->wave_x)*renderer_texsize;
- vertices[i].y = (s2*frd->wave_scale*0.5 + frd->wave_x)*renderer_texsize;
+ vertices[i].y = (s2*frd->wave_scale*0.5 + frd->wave_y)*renderer_texsize;
return nvertices;

0 comments on commit 422f17b

Please sign in to comment.
Something went wrong with that request. Please try again.