Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

draw_row() function can't draw short lines #6

Closed
Smilei0 opened this issue Jul 16, 2019 · 0 comments · Fixed by #7
Closed

draw_row() function can't draw short lines #6

Smilei0 opened this issue Jul 16, 2019 · 0 comments · Fixed by #7

Comments

@Smilei0
Copy link

Smilei0 commented Jul 16, 2019

Hello!
I am trying to make a litle snake game with the library and I noticed that the draw_row() function can't draw short lines ( 15px for example) and because of that small rectangles behave strange. If I remove the following lines it works correctly:

while (x0%32) {
ESPVGAX::putpixel(x0, line, c, op);
x0++;
sw--;
}

Can you check it please and thanks for the library !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant