Skip to content

Commit

Permalink
fix oscilloscope clear area
Browse files Browse the repository at this point in the history
  • Loading branch information
laamaa committed May 1, 2021
1 parent 30fef50 commit 38481cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion render.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ void draw_rectangle(struct draw_rectangle_command *command) {

void draw_waveform(struct draw_oscilloscope_waveform_command *command) {

const SDL_Rect wf_rect = {0, 0, 320, 20};
const SDL_Rect wf_rect = {0, 0, 320, 21};

SDL_SetRenderDrawColor(rend, 0, 0, 0, 0xFF);
SDL_RenderFillRect(rend, &wf_rect);
Expand Down

0 comments on commit 38481cc

Please sign in to comment.